diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-06 13:34:22 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-10 11:19:22 +0200 |
commit | ba038ce052af5ada52a0117c9f13e44cf1c63f1c (patch) | |
tree | 07bbe14afaf60ad584ce138cdd85ac5075d46a35 /contrib/Tir4Fun/npclient.dll | |
parent | 33580cee78020e8389834ea271556320f33521e4 (diff) |
spline: refactor
Generally nothing of importance, just readability.
- There was a particularly scary typo where:
const unsigned end = std::min(unsigned(value_count), unsigned(p2_x * mult_));
clamping to value_count doesn't make sense, given arbitrary p2_x.
- Try harder to avoid assigning s->points. Also the overlap
threshold constant was arbitrarily too high.
- Sort predicate is meant to use strict ordering,
not partial total order.
Diffstat (limited to 'contrib/Tir4Fun/npclient.dll')
0 files changed, 0 insertions, 0 deletions