[fixed] vector3d's normalize() doesn't handle null vector
Posted: Fri Apr 17, 2009 9:09 am
Hi guys,
Well everything is pretty much in the title, I'm currently upgrading from my 1.4 version to the latest svn version and I searched for an entire day to discover this "bug".
The comment above the normalize() method is quite clear : "In case of the 0 vector the result is still 0" and now we get a -1.#IND000...
Bug tracker entry
(in my opinion it's a bug that needs a very quick fix)
Well everything is pretty much in the title, I'm currently upgrading from my 1.4 version to the latest svn version and I searched for an entire day to discover this "bug".
The comment above the normalize() method is quite clear : "In case of the 0 vector the result is still 0" and now we get a -1.#IND000...
Bug tracker entry
(in my opinion it's a bug that needs a very quick fix)