From: <mk...@us...> - 2003-08-06 08:35:03
|
Update of /cvsroot/csp/APPLICATIONS/SimData/Include/SimData In directory sc8-pr-cvs1:/tmp/cvs-serv4901/Include/SimData Modified Files: Vector3.h Log Message: Index: Vector3.h =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/Include/SimData/Vector3.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Vector3.h 6 Aug 2003 06:36:24 -0000 1.9 --- Vector3.h 6 Aug 2003 08:35:00 -0000 1.10 *************** *** 200,204 **** inline double normalize() { double norm = length(); ! if (norm>0.0f) { _x /= norm; _y /= norm; --- 200,204 ---- inline double normalize() { double norm = length(); ! if (norm > 0.0) { _x /= norm; _y /= norm; *************** *** 210,214 **** inline const Vector3 normalized() const { double norm = length(); ! if (norm>0.0f) { return (*this / norm); } --- 210,214 ---- inline const Vector3 normalized() const { double norm = length(); ! if (norm > 0.0) { return (*this / norm); } |