| 65 | } |
| 66 | |
| 67 | void cartesianToSphericalDegrees(const float3& v, float& azimuth, float& elevation, float& distance) |
| 68 | { |
| 69 | float r_azimuth, r_elevation; |
| 70 | cartesianToSpherical(v, r_azimuth, r_elevation, distance); |
| 71 | azimuth = degrees(r_azimuth); |
| 72 | elevation = degrees(r_elevation); |
| 73 | } |
| 74 | |
| 75 | template<> |
| 76 | uint vectorToSnorm8(const float2& v) |
nothing calls this directly
no test coverage detected