diff options
Diffstat (limited to 'src/entities/antifaShip.c')
-rw-r--r-- | src/entities/antifaShip.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/entities/antifaShip.c b/src/entities/antifaShip.c index f9c9867..6e8c239 100644 --- a/src/entities/antifaShip.c +++ b/src/entities/antifaShip.c @@ -14,7 +14,7 @@ void initAntifaShip(Entity * entity, Game * game) { entity->acceleration = (EntityAcceleration){ .speedUp = 30.0, .speedDown = 15, - .rotation = (Vector3){2.0, 2.0, 2.0} + .rotation = (Vector3){2000000.0, 2000000.0, 2000000.0} }; // Set Data pointer. @@ -26,7 +26,7 @@ void initAntifaShip(Entity * entity, Game * game) { } AntifaShip * data = (AntifaShip*)entity->data; - data->lastMouse = Vector2Zero(); + data->lastMouse = GetMousePosition(); data->forwardSpeed = 0.0; } @@ -99,8 +99,6 @@ void controlAntifaShipKeyboardAndMouse(Game * game, Entity * entity) { mouseStick.z = -mouseStick.y; mouseStick.y = 0.0; } - - printVector2(v); entityJoystickControl(entity, mouseStick, data->forwardSpeed); } |