logo
pub trait FaceToward {
    fn face_toward(eye: Vec3, center: Vec3, up: Vec3) -> Self;
}
Expand description

Generates a translation / rotation matrix that faces a given target

Required methods

Generates a translation / rotation matrix that faces a given target

Implementors