$darkmode
Minimal camera state slice for gamepad input application. More...
#include <gamepad_context.h>
Data Fields | |
| float | move_input [3] |
| float | yaw_target |
| float | pitch_target |
| float | fixed_timestep |
| float | max_pitch |
| float | min_pitch |
Minimal camera state slice for gamepad input application.
The caller fills this from Camera fields before calling gamepad_write_input(), then copies the results back.
| float GamepadContext::fixed_timestep |
Physics step duration (seconds).
| float GamepadContext::max_pitch |
Upper pitch clamp (degrees).
| float GamepadContext::min_pitch |
Lower pitch clamp (degrees).
| float GamepadContext::move_input[3] |
[right/left, up/down, fwd/back].
| float GamepadContext::pitch_target |
Target pitch in degrees.
| float GamepadContext::yaw_target |
Target yaw in degrees.