face forward for shading normals */
| 73 | |
| 74 | /* face forward for shading normals */ |
| 75 | inline Vec3fa faceforward( const Vec3fa& N, const Vec3fa& I, const Vec3fa& Ng ) { |
| 76 | Vec3fa NN = N; return dot(I, Ng) < 0 ? NN : neg(NN); |
| 77 | } |
| 78 | |
| 79 | /* GLFW keys codes */ |
| 80 | #if !defined(GLFW_KEY_F1) |
no test coverage detected