Vizard 7 » Command Index » Vizard objects » transform » <transform>.makeFrustum
7.7

<transform>.makeFrustum

Set matrix to projection frustum matrix

<transform>.makeFrustum(  
left  
right  
bottom  
top  
near  
far  
)  
left
Specify the coordinate for the left vertical clipping plane.
right
Specify the coordinate for the right vertical clipping plane.
bottom
Specify the coordinate for the bottom horizontal clipping plane.
top
Specify the coordinate for the top horizontal clipping plane.
near
Specify the distance to the near and depth clipping plane. Must be positive.
far
Specify the distance to the far and depth clipping plane. Must be positive.

Remarks

Convert the transform to a perspective projection matrix, using the glFrustum(...) convention.

Return Value

None