pub trait Transform {
// Required method
fn world_to_view(&self) -> Mat4x4<WorldToView>;
}Expand description
Trait for different modes of camera motion.
Required Methods§
Sourcefn world_to_view(&self) -> Mat4x4<WorldToView>
fn world_to_view(&self) -> Mat4x4<WorldToView>
Returns the current world-to-view matrix.