Returns the vector normalized.
| 1037 | |
| 1038 | /// Returns the vector normalized. |
| 1039 | inline Point3F mNormalize( const Point3F &vec ) |
| 1040 | { |
| 1041 | Point3F out( vec ); |
| 1042 | out.normalize(); |
| 1043 | return out; |
| 1044 | } |
| 1045 | |
| 1046 | /// Returns true if the point is NaN. |
| 1047 | inline bool mIsNaN( const Point3F &p ) |