![]() |
LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024-2025 ETMSoftware
|
Functions | |
void | lg_camera_apply_ui (LG_Camera *camera, LG_Camera_K *camera_k) |
void lg_camera_apply_ui | ( | LG_Camera * | camera, |
LG_Camera_K * | camera_k | ||
) |
=== Check camera->input_state and move/rotate the camera ===
apply_ui here means apply user input (not apply user interface)
See LG_InputState in lg_ui.h
rot_order = the rotations order - one of "XYZ", "YXZ", "ZXY", "ZYX", "YZX", "XZY"
camera | Pointer to a LG_Camera |
camera_k | Pointer to a LG_Camera_K |