|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kinesis::apply_orbit_pan | ( | OrbitState & | state, |
| float | dx, | ||
| float | dy | ||
| ) |
Pan the focal point in the camera's local right/up plane.
Delta is scaled by distance so pan speed stays proportionate to zoom level.
| state | Orbit state (focal mutated). |
| dx | Horizontal pixel delta. |
| dy | Vertical pixel delta. |
Definition at line 52 of file OrbitState.cpp.
References MayaFlux::Kinesis::OrbitState::distance, MayaFlux::Kinesis::OrbitState::focal, orbit_eye(), MayaFlux::Kinesis::OrbitState::pan_sensitivity, and scale().
Referenced by MayaFlux::bind_orbit_preset().
Here is the call graph for this function:
Here is the caller graph for this function: