picogl.backend.modern.core.camera.matrix.projection

Functions

calculate_projection_matrix(width, height) → pyrr.Matrix44

calculate_projection_matrix

Module Contents

picogl.backend.modern.core.camera.matrix.projection.calculate_projection_matrix(width: int, height: int) → pyrr.Matrix44[source]

calculate_projection_matrix

Parameters:
  • width – int

  • height – int

Returns:

Matrix44