diff options
Diffstat (limited to 'examples/game_demo')
-rw-r--r-- | examples/game_demo/game_demo.c | 2 |
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); |