branch | pyrit |
changeset 60 | a23b5089b9c3 |
parent 46 | 6493fb65f0b1 |
child 91 | 9d66d323c354 |
--- a/include/quaternion.h Fri Apr 04 13:54:47 2008 +0200 +++ b/include/quaternion.h Tue Apr 08 01:05:12 2008 +0200 @@ -50,7 +50,7 @@ Quaternion normalize() { - Float f = 1.0f / sqrtf(a * a + b * b + c * c + d * d); + Float f = (Float)1.0f / sqrtf(a * a + b * b + c * c + d * d); a *= f; b *= f; c *= f;