Correct own error w/ snap-scale T46503
Don't use nan for comparisons.
This commit is contained in:
parent
d1c6364099
commit
4aac73a86f
|
@ -85,7 +85,7 @@
|
|||
|
||||
#define TRANSFORM_DIST_MAX_PX 1000.0f
|
||||
#define TRANSFORM_SNAP_MAX_PX 100.0f
|
||||
#define TRANSFORM_DIST_INVALID NAN_FLT
|
||||
#define TRANSFORM_DIST_INVALID -FLT_MAX
|
||||
|
||||
/* use half of flt-max so we can scale up without an exception */
|
||||
|
||||
|
|
Loading…
Reference in New Issue