geomUtils.Frustum Class
Module: cc
Parent Module: cc
frustum
Index
Properties
accurate boolean Set whether to use accurate intersection testing function on this frustum
planes Plane[]
planes Vec3[]
Methods
create create a new frustum
clone Clone a frustum
copy Copy the values from one frustum to another
update Update the frustum information according to the given transform matrix.
transform transform by matrix
Details
Properties
accurate
Set whether to use accurate intersection testing function on this frustum
planes
planes
Methods
create
create a new frustum
clone
Clone a frustum
Parameters
copy
Copy the values from one frustum to another
Parameters
update
Update the frustum information according to the given transform matrix.
Note that the resulting planes are not normalized under normal mode.
Parameters
m Mat4 the view-projection matrix
inv Mat4 the inverse view-projection matrix
transform by matrix
Parameters