summaryrefslogtreecommitdiff
path: root/examples/game_demo/game_demo.c
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-19 16:38:56 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-19 16:41:04 +1000
commitff825f1e18860d5aa0c761496f1dc0670422715c (patch)
treebc88851579492007237b125b68811cef947397c0 /examples/game_demo/game_demo.c
parentefb2d293d5e849fc96e4e386d55a7611795561aa (diff)
fly camera
Diffstat (limited to 'examples/game_demo/game_demo.c')
-rw-r--r--examples/game_demo/game_demo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c
index 1f88503..cb969cf 100644
--- a/examples/game_demo/game_demo.c
+++ b/examples/game_demo/game_demo.c
@@ -86,6 +86,8 @@ int main() {
while (!ShouldExit()) {
Frame_Begin();
+ Camera_Update(&cam);
+ SetCamera(cam);
// BEGIN Draw calls