summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 3934c2a..663fe63 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,9 +28,9 @@ void handleInput(Player *player)
player->velocity.y=1.0f;
}
if (IsKeyDown(KEY_LEFT_CONTROL)) {
- player->speed = 0.06f;
+ player->speed = 8;
} else {
- player->speed = 0.04f;
+ player->speed = 6;
}
}
@@ -71,7 +71,7 @@ int main(void)
Player player = {
.pos = (Vector3){5.0f, 10.0f, 5.0f},
.velocity = (Vector3){0.0f, 0.0f, 0.0f},
- .speed = 0.04f,
+ .speed = 10,
.camera = (Camera3D){
.target = (Vector3){0.0f, 0.0f, 0.0f},
.up = (Vector3){0.0f, 1.0f, 0.0f},