![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
View frustum for culling: six planes from a view-projection matrix. More...
#include <frustum.h>
Public Attributes | |
| glm::vec3 | normals [6] |
| Normalized. | |
| float | d [6] |
| The constant in ax+by+cz+d=0. | |
View frustum for culling: six planes from a view-projection matrix.
Stores abs(normal) so the AABB test is branchless dot products. Order: left, right, bottom, top, near, far.