summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-21 16:17:26 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-21 16:17:26 +1000
commit1f9b47d925a0a21111e458a573a991ef26a35528 (patch)
tree7d7fc43b24d096b4c7998e6f09684619c670ffd3 /examples
parent47465948f2a5a85d0882ff116fce095f401d69c1 (diff)
start adding rust bindgen
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 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);