 
 void doRayCasting(Player *player);
 void drawWallLine(uint8_t x, uint8_t h);
+void rotatePlayer(Player *player, uint8_t right);
 
 void setup()  {
   D(Serial.begin(9600));

    display.clearDisplay();
    doRayCasting(&player);
    display.display();


    double oldXDir = player.dirX;
    player.dirX = player.dirX * cos(-ROTSPEED) - player.dirY * sin(-ROTSPEED);
    player.dirY = oldXDir * sin(-ROTSPEED) + player.dirY * cos(-ROTSPEED);

    double oldplaneX = player.planeX;
    player.planeX = player.planeX * cos(-ROTSPEED) - player.planeY * sin(-ROTSPEED);
    player.planeY = oldplaneX * sin(-ROTSPEED) + player.planeY * cos(-ROTSPEED);
  }

}

void drawWallLine(uint8_t x, uint8_t h) {

  display.clearDisplay(); //clear adafruit logo from buffer
  display.display(); //init display
}

void loop() {
  Player player;
