summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-21 16:19:01 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-21 16:19:01 +1000
commit066692698b10c6b8173a9eeea58956e9e6975ceb (patch)
treee8c4f07b18d9b716446347797e3bc59c2d66bec2 /examples
parent81aa53e5fce82433c74a55f5f10ee0f454758716 (diff)
fix
Diffstat (limited to 'examples')
-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 298f827..734bff1 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
- let sun = DirectionalLight {
+ DirectionalLight sun = {
.ambient = vec3(1.0, 1.0, 1.0),
};
SetMainLight(sun);