Blender Git Loki

Git Commits -> Revision 5455917

Revision 5455917 by Campbell Barton (master)
February 28, 2010, 19:27 (GMT)
comparing Vector(-2, 0, 0) and Vector(2, 0, 0) was returning true, this bug is years old, strange nobody noticed.
use float comparison from the "Ever Faster Float Comparisons" paper, tested with random values as well as random values converted to ints (where this existing code would fail).

Commit Details:

Full Hash: 545591727446bbc553b0cfb0cc9b6fefd2a16d9e
SVN Revision: 27194
Parent Commit: 9e35777
Lines Changed: +18, -24

2 Modified Paths:

/source/blender/python/generic/mathutils.c (+17, -18) (Diff)
/source/blender/python/generic/vector.c (+1, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021