3 #include <ThirdParty/glm/glm/glm.hpp> 32 explicit Frustum(
Camera &camera, glm::vec3 right, glm::vec3 up);
36 glm::vec3 position0, position1, position2, normal, u, v;
40 Face(glm::vec3 p0, glm::vec3 p1, glm::vec3 p2);
44 Face frontFace, backFace, topFace, rightFace, bottomFace, leftFace;
51 Face GetFrontFace()
const;
56 Face GetBackFace()
const;
61 Face GetTopFace()
const;
66 Face GetRightFace()
const;
71 Face GetBottomFace()
const;
76 Face GetLeftFace()
const;
This class is used for the creation of a camera.
This object is used to keep track of the frustum area of the view and projection matrix. NOTE: only the Camera class is allowed to create this object.