diff options
author | Ricky Curtice <kf6kjg+hg@gmail.com> | 2014-03-02 14:33:57 -0800 |
---|---|---|
committer | Ricky Curtice <kf6kjg+hg@gmail.com> | 2014-03-02 14:33:57 -0800 |
commit | e0a015920d3c0f793cadb88b7b8c4cedca61d2fb (patch) | |
tree | ea3062709f1198243c6508ed169e25ece4d1822d /indra/llui/lluistring.cpp | |
parent | a060dcfff790f16dd4a0097e0eca4ff4b7f3d0de (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/lluistring.cpp')
0 files changed, 0 insertions, 0 deletions