perspective
- perspective(fov, aspect, near, far)[source]
Construct a perspective projection matrix.
- Parameters
- fovfloat
The field of view in degrees.
- aspectfloat
The aspect ratio of the view.
- nearfloat
Location of the near clipping plane.
- farfloat
Location of the far clipping plane.
- Returns