vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::Math::Frustum Struct Reference

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.

Detailed Description

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.


The documentation for this struct was generated from the following file: