|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API ViewTransform MayaFlux::Kinesis::compute_view_transform | ( | NavigationState & | state, |
| float | aspect | ||
| ) |
Compute a ViewTransform from the current NavigationState.
Computes dt from state.last_tick, advances eye position by held movement flags scaled by move_speed * dt, updates last_tick, then constructs view and projection matrices.
| state | Navigation state (eye and last_tick mutated by this call) |
| aspect | Framebuffer width / height |
Definition at line 23 of file NavigationState.cpp.
References advance_navigation(), and build_view_transform().
Referenced by MayaFlux::bind_fly_preset(), MayaFlux::Nexus::Locus::Locus(), and MayaFlux::Nexus::Locus::Locus().
Here is the call graph for this function:
Here is the caller graph for this function: