KDJStudios/Vector3 — pull request #1 by AlexToulan (2012-09-28 17:03:43+00:00)
Title: Updated normalize and toNormalized

Adding FLT_MIN to your magnitude insures that you never divide by zero.
When you add two floats, and the smaller number is outside the mantissa, the exponent is not shifted ignoring the smaller value.

So if your magnitude returns zero, you only divide by a very small amount, saving you the overhead of returning infinity and the vector3 will essentially return 0.0f, 0.0f, 0.0f