[bugfix] rm duplication process dimension #902

Open
carlhuting wants to merge 1 commits from carlhuting/bugfix_dimension into main
carlhuting commented 2019-06-11 06:22:57 -07:00 (Migrated from github.com)

YGRoundValueToPixelGrid( absoluteNodeBottom) - YGRoundValueToPixelGrid(absoluteNodeTop)
loss precision
eg
float a = YGRoundValueToPixelGrid(668.666626, 3, false, true);
float b = YGRoundValueToPixelGrid(416.666656, 3, false, true);
float c = a - b ;// 251.66... expect 252

YGRoundValueToPixelGrid( absoluteNodeBottom) - YGRoundValueToPixelGrid(absoluteNodeTop) loss precision eg float a = YGRoundValueToPixelGrid(668.666626, 3, false, true); float b = YGRoundValueToPixelGrid(416.666656, 3, false, true); float c = a - b ;// 251.66... expect 252
This pull request has changes conflicting with the target branch.
  • yoga/Yoga.cpp
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin carlhuting/bugfix_dimension:carlhuting/bugfix_dimension
git checkout carlhuting/bugfix_dimension
Sign in to join this conversation.
No description provided.