|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Mutable first-person navigation state. More...
#include <NavigationState.hpp>
Collaboration diagram for MayaFlux::Kinesis::NavigationState:Public Attributes | |
| bool | back_held { false } |
| bool | down_held { false } |
| glm::vec3 | eye { 0.0F, 0.0F, 5.0F } |
| float | far_plane { 1000.0F } |
| bool | first_mouse { true } |
| bool | forward_held { false } |
| float | fov_radians { glm::radians(60.0F) } |
| std::chrono::steady_clock::time_point | last_tick { std::chrono::steady_clock::now() } |
| double | last_x { 0.0 } |
| double | last_y { 0.0 } |
| bool | left_held { false } |
| float | mouse_sensitivity { 0.002F } |
| float | move_speed { 3.0F } |
| float | near_plane { 0.01F } |
| float | pitch { 0.0F } |
| Radians, vertical rotation, clamped to [-89, +89] degrees. | |
| bool | right_held { false } |
| bool | rmb_held { false } |
| float | scroll_speed { 0.5F } |
| bool | up_held { false } |
| float | yaw { 0.0F } |
| Radians, horizontal rotation. | |
Mutable first-person navigation state.
Holds eye position, orientation angles, per-axis movement flags, and mouse tracking state. All fields are plain data; no engine or event system dependency.
Construct via make_navigation_state() to derive initial yaw/pitch from NavigationConfig::initial_target. Update by mutating fields directly, then call compute_view_transform() each frame.
Definition at line 34 of file NavigationState.hpp.