[][src]Trait bevy_math::FaceToward

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

Generates a translation / rotation matrix that faces a given target

Required methods

fn face_toward(eye: Vec3, center: Vec3, up: Vec3) -> Self

Generates a translation / rotation matrix that faces a given target

Loading content...

Implementors

impl FaceToward for Mat4[src]

Loading content...