From ec4e138113b7409939dc4e8bc973248c6797d041 Mon Sep 17 00:00:00 2001 From: Crydsch Date: Mon, 18 Jul 2022 18:20:59 +0200 Subject: [PATCH] actually fix text_draw_3d --- examples/text/text_draw_3d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/text/text_draw_3d.c b/examples/text/text_draw_3d.c index f3d14a308..77c1691b6 100644 --- a/examples/text/text_draw_3d.c +++ b/examples/text/text_draw_3d.c @@ -181,12 +181,12 @@ int main(void) if (spin) { camera.position = (Vector3){ -10.0f, 15.0f, -10.0f }; // Camera position - SetCameraMode(camera, CAMERA_ORBITAL); + SetCameraMode(&camera, CAMERA_ORBITAL); } else { camera.position = (Vector3){ 10.0f, 10.0f, -10.0f }; // Camera position - SetCameraMode(camera, CAMERA_FREE); + SetCameraMode(&camera, CAMERA_FREE); } }