|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kinesis::apply_pan_zoom_scroll | ( | PanZoom2DState & | state, |
| float | ticks | ||
| ) |
Zoom by multiplying the half-height, clamped to [min_zoom, max_zoom].
| state | PanZoom2D state (zoom mutated). |
| ticks | Signed scroll ticks (positive = zoom in). |
Definition at line 39 of file PanZoom2DState.cpp.
References MayaFlux::Kinesis::PanZoom2DState::max_zoom, MayaFlux::Kinesis::PanZoom2DState::min_zoom, MayaFlux::Kinesis::PanZoom2DState::scroll_speed, and MayaFlux::Kinesis::PanZoom2DState::zoom.
Referenced by MayaFlux::bind_pan_zoom_preset().
Here is the caller graph for this function: