Open topic with navigation
<transform>.makeOrtho
Set matrix to orthographic projection matrix
<transform>.makeOrtho( |
|
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 an orthographic projection matrix, using the glOrtho(...) convention.
Return Value
None