BoundFrustum Class
This class serves to construct the bounding frustum in single precision coordinates.
Instances of this class are deleted automatically when it is necessary.
In case of double precision coordinates, the bounding frustum should be constructed by using the WorldBoundFrustum class. It includes the same functions as the BoundFrustum class, but its functions deal with the double precision coordinates.
To support both single and double precision builds, you can use the WorldBoundFrustum class only. The engine will automatically substitute it with the BoundFrustum if it is required.
BoundFrustum Class
Members
BoundFrustum()
Constructor. Creates an empty bounding frustum.vec3 getCamera()
Returns the position of the camera.Return value
Camera position.int isValid() const
Checks the bounding frustum status.Return value
1 if the bounding frustum is valid.Last update: 2018-08-10
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)