|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| ViewTransform MayaFlux::Kinesis::build_view_transform | ( | const NavigationState & | state, |
| float | aspect | ||
| ) |
Build a ViewTransform from the current NavigationState without mutating it.
Pure read of eye, yaw, pitch, fov_radians, near_plane, far_plane. Does not advance the eye or update last_tick. Call advance_navigation() first when the eye needs to move.
| state | Navigation state (read-only) |
| aspect | Framebuffer width / height |
Definition at line 111 of file NavigationState.cpp.
References MayaFlux::Kinesis::NavigationState::eye, MayaFlux::Kinesis::NavigationState::far_plane, MayaFlux::Kinesis::NavigationState::fov_radians, MayaFlux::Kinesis::NavigationState::near_plane, MayaFlux::Kinesis::NavigationState::pitch, MayaFlux::Kinesis::ViewTransform::view, and MayaFlux::Kinesis::NavigationState::yaw.
Referenced by MayaFlux::bind_screenspace_preset(), compute_view_transform(), and MayaFlux::Nexus::Locus::invoke_perception().
Here is the caller graph for this function: