5 #include "VectorMathDecl.h"
14 void BuildFrustumPlanesFromViewProjection(std::vector<Geometry::Plane> &frustumPlanes,
const Eegeo::m44& viewProjection);
20 static const int PLANE_LEFT = 0;
21 static const int PLANE_RIGHT = 1;
22 static const int PLANE_BOTTOM = 2;
23 static const int PLANE_TOP = 3;
24 static const int PLANE_NEAR = 4;
25 static const int PLANE_FAR = 5;
26 static const int PLANES_COUNT = 6;
29 void Update(
const std::vector<Geometry::Plane>& frustumPlanes)
31 for (
int i = 0; i < 6; ++ i)
33 planes[i] = frustumPlanes[i].Norm();
42 void CalculateVertexPositions(std::vector<Eegeo::v3>& verts)
const;
46 float CalculateFov()
const;