|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kinesis::advance_navigation | ( | NavigationState & | state | ) |
Advance eye position by held movement flags against elapsed time.
Computes dt from state.last_tick, moves the eye along the current forward and right vectors by the flags that are set, and updates last_tick. Does not produce a ViewTransform. Use build_view_transform() after this when the matrices are needed separately from the eye update.
| state | Navigation state (eye and last_tick mutated by this call) |
Definition at line 78 of file NavigationState.cpp.
References MayaFlux::Kinesis::NavigationState::back_held, MayaFlux::Kinesis::NavigationState::down_held, MayaFlux::Kinesis::NavigationState::eye, MayaFlux::Kinesis::NavigationState::eye_constraint, MayaFlux::Kinesis::NavigationState::forward_held, MayaFlux::Kinesis::NavigationState::last_tick, MayaFlux::Kinesis::NavigationState::left_held, MayaFlux::Kinesis::NavigationState::move_speed, MayaFlux::Kinesis::NavigationState::pitch, MayaFlux::Kinesis::NavigationState::right_held, MayaFlux::Kinesis::NavigationState::up_held, and MayaFlux::Kinesis::NavigationState::yaw.
Referenced by compute_view_transform(), and MayaFlux::Nexus::Locus::invoke_perception().
Here is the caller graph for this function: