Gets a value indicting whether this instance is normalized.
| 104 | public: |
| 105 | // Gets a value indicting whether this instance is normalized. |
| 106 | bool IsNormalized() const |
| 107 | { |
| 108 | return Math::Abs((X * X + Y * Y) - 1.0f) < 1e-4f; |
| 109 | } |
| 110 | |
| 111 | // Gets a value indicting whether this vector is zero. |
| 112 | bool IsZero() const |
no test coverage detected