diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-28 22:27:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-28 22:27:06 +0300 |
commit | 545591727446bbc553b0cfb0cc9b6fefd2a16d9e (patch) | |
tree | 3b8a9909c0a69fd9a89630be9efb08f9932a8e0e /source/blender/python/intern/bpy_app.c | |
parent | 9e357770197f46f2e36acc4f1c02daee551e22e6 (diff) |
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).
Diffstat (limited to 'source/blender/python/intern/bpy_app.c')
0 files changed, 0 insertions, 0 deletions