Open topic with navigation
<transform>.makePerspective
Set matrix to a perspective projection matrix
<transform>.makePerspective( |
|
fovy |
aspectRatio |
near |
far |
) |
|
fovy
Vertical field of view, in degrees.
aspectRatio
Width/height aspect ratio.
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 symmetrical perspective projection matrix. Similar to the gluPerspective(...) command.
Return Value
None