aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game.c b/src/game.c
index 3669c10..427ffdf 100644
--- a/src/game.c
+++ b/src/game.c
@@ -29,13 +29,13 @@ void initGame(Game* game)
LoadTextureCubemap(game->assets.images[SKYBOX_IMAGE],
CUBEMAP_LAYOUT_AUTO_DETECT);
- // Player.
- game->player = createPlayer();
- game->player.position = (Vector3){0.0, 30.0, 0.0};
-
// World.
game->world = createWorld(134235234);
+ // Player.
+ game->player = createPlayer();
+ game->player.position = Vector3Scale(game->world.size, 0.5);
+
DisableCursor();
}