summaryrefslogtreecommitdiffhomepage
path: root/examples/core/core_world_screen.c
diff options
context:
space:
mode:
authorRay <[email protected]>2019-05-27 00:18:15 +0200
committerRay <[email protected]>2019-05-27 00:18:15 +0200
commit87774a0a21f8d2998b4dc13e989005270476ae92 (patch)
tree4228376c752b1760be44cc8582725ecac522939b /examples/core/core_world_screen.c
parent241c4c8d14225bdf30c168802d4b16b59d5043e0 (diff)
downloadraylib-87774a0a21f8d2998b4dc13e989005270476ae92.tar.gz
raylib-87774a0a21f8d2998b4dc13e989005270476ae92.zip
Review variables initialization
Diffstat (limited to 'examples/core/core_world_screen.c')
-rw-r--r--examples/core/core_world_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/core/core_world_screen.c b/examples/core/core_world_screen.c
index 434952bc..31d3653d 100644
--- a/examples/core/core_world_screen.c
+++ b/examples/core/core_world_screen.c
@@ -29,8 +29,7 @@ int main(void)
camera.type = CAMERA_PERSPECTIVE;
Vector3 cubePosition = { 0.0f, 0.0f, 0.0f };
-
- Vector2 cubeScreenPosition;
+ Vector2 cubeScreenPosition = { 0.0f, 0.0f };
SetCameraMode(camera, CAMERA_FREE); // Set a free camera mode