From 1f9b47d925a0a21111e458a573a991ef26a35528 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 21 Jul 2024 16:17:26 +1000 Subject: start adding rust bindgen --- examples/game_demo/game_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/game_demo/game_demo.c') 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); -- cgit v1.2.3-70-g09d2