aboutsummaryrefslogtreecommitdiff
path: root/src/llr/llr_impl.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-07-04 17:27:11 -0700
committer3gg <3gg@shellblade.net>2025-07-04 17:27:11 -0700
commit9d6a2d71e4c8c3bb5ef8d9088a5cec985f869b9b (patch)
tree6a253beee47edbd45ac83d041b229557fd28182e /src/llr/llr_impl.h
parentb37b5398a6afa940acd1138bde922a70838f33af (diff)
Refactor scene renderer to use the LLRHEADmain
Diffstat (limited to 'src/llr/llr_impl.h')
-rw-r--r--src/llr/llr_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/llr/llr_impl.h b/src/llr/llr_impl.h
index e9dc0ac..ada2d79 100644
--- a/src/llr/llr_impl.h
+++ b/src/llr/llr_impl.h
@@ -54,8 +54,11 @@ typedef struct LLR {
54 ShaderProgram* shader; // Active shader. Not owned. 54 ShaderProgram* shader; // Active shader. Not owned.
55 55
56 vec3 camera_position; 56 vec3 camera_position;
57 mat4 camera_rotation;
57 mat4 view; // Camera view matrix. 58 mat4 view; // Camera view matrix.
58 mat4 projection; // Camera projection matrix. 59 mat4 projection; // Camera projection matrix.
60 R fovy; // Camera vertical field of view.
61 R aspect; // Aspect ratio.
59 62
60 // Lights are not const because environment lights store lazily-computed 63 // Lights are not const because environment lights store lazily-computed
61 // irradiance maps. 64 // irradiance maps.