Generate a perspective projection matrix with the given bounds.
name | type | description |
---|---|---|
width | number |
The width of the frustum. |
height | number |
The height of the frustum. |
near | number |
Near bound of the frustum. |
far | number |
Far bound of the frustum. |
This Matrix4.