|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API ViewTransform MayaFlux::Kinesis::compute_orbit_view_transform | ( | const OrbitState & | state, |
| float | aspect | ||
| ) |
Build a ViewTransform from the current OrbitState.
Pure read; does not mutate state.
| state | Orbit state. |
| aspect | Framebuffer width / height. |
Definition at line 28 of file OrbitState.cpp.
References MayaFlux::Kinesis::OrbitState::far_plane, MayaFlux::Kinesis::OrbitState::focal, MayaFlux::Kinesis::OrbitState::fov_radians, MayaFlux::Kinesis::OrbitState::near_plane, and orbit_eye().
Referenced by MayaFlux::bind_orbit_preset().
Here is the call graph for this function:
Here is the caller graph for this function: