perspective
- compas_view2.scene.perspective(fov, aspect, near, far)[source]
Construct a perspective projection matrix.
- Parameters:
fov (float) – The field of view in degrees.
aspect (float) – The aspect ratio of the view.
near (float) – Location of the near clipping plane.
far (float) – Location of the far clipping plane.
- Returns: