Generate a perspective projection matrix with the given bounds.
name | type | description |
---|---|---|
fovy | number |
Vertical field of view in radians |
aspect | number |
Aspect ratio. Typically viewport width /height. |
near | number |
Near bound of the frustum. |
far | number |
Far bound of the frustum. |
This Matrix4.