| 31 | Vector3f { 0.f, -52.f, 0.f }, |
| 32 | }; |
| 33 | constexpr Triangle3f shift( const Triangle3f& origin, float x, float y, float z ) |
| 34 | { |
| 35 | return { |
| 36 | origin[0] + Vector3f { x, y, z }, |
| 37 | origin[1] + Vector3f { x, y, z }, |
| 38 | origin[2] + Vector3f { x, y, z }, |
| 39 | }; |
| 40 | } |
| 41 | |
| 42 | using VertexOrder = std::array<size_t, 3>; |
| 43 | constexpr std::array<VertexOrder, 6> triPermutations |
no outgoing calls
no test coverage detected