Transform

Trait Transform 

Source
pub trait Transform {
    // Required method
    fn world_to_view(&self) -> Mat4x4<WorldToView>;
}
Expand description

Trait for different modes of camera motion.

Required Methods§

Source

fn world_to_view(&self) -> Mat4x4<WorldToView>

Returns the current world-to-view matrix.

Implementors§

Source§

impl Transform for FirstPerson

Available on crate feature fp only.
Source§

impl Transform for Orbit

Available on crate feature fp only.
Source§

impl Transform for Mat4x4<WorldToView>