Trait nannou::prelude::Mat4LookTo[][src]

pub trait Mat4LookTo {
    fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Mat4 { ... }
fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Mat4 { ... } }
Expand description

Create a transformation matrix that will cause a vector to point at dir using up for orientation.

Provided methods

Implementors