| 80 | } |
| 81 | |
| 82 | inline float3 cross(const float3 & a, const float3 & b) |
| 83 | { |
| 84 | return {a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z, a.x * b.y - a.y * b.x}; |
| 85 | } |
| 86 | |
| 87 | inline float magnitude(const float3 & v) |
| 88 | { |
no outgoing calls
no test coverage detected