camera module

class camera.Camera(app, position=(0, 0, 4), yaw=-90, pitch=0)[source]

Bases: object

get_projection_matrix()[source]
get_view_matrix()[source]
move()[source]
rotate()[source]
update()[source]
update_camera_vectors()[source]

We emulate a first-person camera by rotating around the Z-axis and X-axis