| 314 | } |
| 315 | |
| 316 | inline Vector3 sphericalDirection(const float &cosTheta, const float &sinTheta, const float &cosPhi, const float &sinPhi) |
| 317 | { |
| 318 | return Vector3(sinTheta * cosPhi, sinTheta * sinPhi, cosTheta); |
| 319 | }; |
| 320 | |
| 321 | inline Vector3 sphericalDirection(const float &theta, const float &phi) |
| 322 | { |
no test coverage detected