MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
OrbitState.hpp File Reference
#include "ViewTransform.hpp"
+ Include dependency graph for OrbitState.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Kinesis::OrbitConfig
 Construction parameters for an orbit navigation controller. More...
 
struct  MayaFlux::Kinesis::OrbitState
 Mutable orbit navigation state. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Kinesis
 

Functions

void MayaFlux::Kinesis::apply_orbit_pan (OrbitState &state, float dx, float dy)
 Pan the focal point in the camera's local right/up plane.
 
void MayaFlux::Kinesis::apply_orbit_rotate (OrbitState &state, float dx, float dy)
 Apply a mouse delta to azimuth and elevation.
 
void MayaFlux::Kinesis::apply_orbit_scroll (OrbitState &state, float ticks)
 Dolly the camera toward or away from the focal point.
 
ViewTransform MayaFlux::Kinesis::compute_orbit_view_transform (const OrbitState &state, float aspect)
 Build a ViewTransform from the current OrbitState.
 
OrbitState MayaFlux::Kinesis::make_orbit_state (const OrbitConfig &config)
 Construct an OrbitState from an OrbitConfig.
 
glm::vec3 MayaFlux::Kinesis::orbit_eye (const OrbitState &state)
 Derive eye position from the current orbit state.
 
void MayaFlux::Kinesis::snap_orbit_ortho (OrbitState &state, int view)
 Snap to a named ortho view, preserving distance and focal point.