| 164 | return w > 0.f ? sqrtf(w) : 0.f; |
| 165 | } |
| 166 | void normalize() |
| 167 | { |
| 168 | float w = v[0] * v[0] + v[1] * v[1] + v[2] * v[2]; |
| 169 | if (w > 0.f) |
| 170 | { |
| 171 | *this /= sqrtf(w); |
| 172 | } |
| 173 | } |
| 174 | }; |
| 175 | |
| 176 | static float dot(const Vector a, const Vector b) |
no outgoing calls
no test coverage detected