Function ggez::graphics::set_projection [] [src]

pub fn set_projection(context: &mut Context, proj: Matrix4)

Sets the raw projection matrix to the given homogeneous transformation matrix.

You must call apply_transformations(ctx) after calling this to apply these changes and recalculate the underlying MVP matrix.