picogl.backend.modern.core.shader.rotation_matrix

Module for creating rotation matrices.

Functions

create_rotation_matrix(angle_x, angle_y) → numpy.ndarray

create_rotation_matrix

Module Contents

picogl.backend.modern.core.shader.rotation_matrix.create_rotation_matrix(angle_x: float, angle_y: float) → numpy.ndarray[source]

create_rotation_matrix

Parameters:
  • angle_x – float

  • angle_y – float

Returns:

np.ndarray