summaryrefslogtreecommitdiff
path: root/examples/game_demo/game_demo.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-21 16:18:41 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-21 16:18:41 +1000
commit81aa53e5fce82433c74a55f5f10ee0f454758716 (patch)
tree7d7fc43b24d096b4c7998e6f09684619c670ffd3 /examples/game_demo/game_demo.c
parent774fc54355abe70a1ba045ade99649ba0e98c930 (diff)
parent1f9b47d925a0a21111e458a573a991ef26a35528 (diff)
Merge branch 'winter-cleaning' of https://github.com/omnisci3nce/celeritas-core into winter-cleaning
Diffstat (limited to 'examples/game_demo/game_demo.c')
-rw-r--r--examples/game_demo/game_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c
index 734bff1..298f827 100644
--- a/examples/game_demo/game_demo.c
+++ b/examples/game_demo/game_demo.c
@@ -35,7 +35,7 @@ int main() {
Camera cam = Camera_Create(camera_pos, vec3_normalise(vec3_negate(camera_pos)), VEC3_Y, 45.0);
SetCamera(cam); // update the camera in RenderScene
- DirectionalLight sun = {
+ let sun = DirectionalLight {
.ambient = vec3(1.0, 1.0, 1.0),
};
SetMainLight(sun);