* Compute the norm of 3-vector (float version). */
| 560 | * Compute the norm of 3-vector (float version). |
| 561 | */ |
| 562 | static float Norm(const float v[3]) { return std::sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]); } |
| 563 | |
| 564 | /** |
| 565 | * Compute the norm of 3-vector (double version). |