From 9c60f63703a0cbbe91e6380bc7c6c758b18d57c4 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Fri, 9 May 2025 15:38:54 +0100 Subject: [PATCH] Added comments to ogt_vox_cam --- src/ogt_vox.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ogt_vox.h b/src/ogt_vox.h index d370546..6d14449 100644 --- a/src/ogt_vox.h +++ b/src/ogt_vox.h @@ -332,10 +332,10 @@ uint32_t camera_id; ogt_cam_mode mode; float focus[3]; // the target position - float angle[3]; // rotation in degree - float radius; - float frustum; - int fov; // angle in degree + float angle[3]; // rotation in degree - pitch (-180 to +180), yaw (0 to 360), roll (0 to 360) + float radius; // distance of camera position from target position, also controls frustum in MV for orthographic/isometric modes + float frustum; // 'height' of near plane of frustum, either orthographic height in voxels or tan( fov/2.0f ) + int fov; // angle in degrees for height of field of view, ensure to set frustum as only used when changed in MV UI } ogt_vox_cam; typedef struct ogt_vox_sun