Skip to main content

look_at_affine3

Function look_at_affine3 

Source
pub fn look_at_affine3(eye: Vec3, center: Vec3, up: Vec3) -> Affine3
Expand description

Returns an Affine3 view transform from eye, focal point, and up.

Transforms right-handed world space points into right-handed Y-up view space.

ยงPanics

Will panic if up is not normalized when glam_assert is enabled.