summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrl.h
diff options
context:
space:
mode:
authorRicky Curtice <kf6kjg+hg@gmail.com>2014-03-02 14:33:57 -0800
committerRicky Curtice <kf6kjg+hg@gmail.com>2014-03-02 14:33:57 -0800
commite0a015920d3c0f793cadb88b7b8c4cedca61d2fb (patch)
treeea3062709f1198243c6508ed169e25ece4d1822d /indra/llui/lluictrl.h
parenta060dcfff790f16dd4a0097e0eca4ff4b7f3d0de (diff)
STORM-1920: Richard fixed and optimized a ton more math.
From Richard: There are a bunch of things I changed...mainly I eliminated all the grid_offset nonsense and instead simply calculate the tick index for the current drag position and use that to generate a snapped position as needed. I still use approx_equal because I want grid numbers to light up even when they aren't the axis you are currently snapping to.
Diffstat (limited to 'indra/llui/lluictrl.h')
0 files changed, 0 insertions, 0 deletions