Module camera

Source
Expand description

Camera projection, view and utilities.

Modules§

shader
CameraDescriptor and camera shader utilities.

Structs§

Camera
A camera used for transforming the stage during rendering.

Functions§

default_ortho2d
Creates a typical 2d orthographic projection with +Y extending downward and the +Z axis coming out towards the viewer.
default_perspective
Returns the projection and view matrices for a camera with default perspective.
look_at
ortho
perspective