1
0
Fork 0
Toy-Raytracer/Player.h

25 lines
337 B
C
Raw Normal View History

2019-05-27 13:50:49 +02:00
//
// Created by trotfunky on 27/05/19.
//
#ifndef RAYCASTING_PLAYER_H
#define RAYCASTING_PLAYER_H
class Player {
public:
Player(float x, float y, float alpha);
float x;
float y;
float orientation;
float fov = 70;
void move(float dx, float dy);
void rotate(int alpha);
2019-05-27 13:50:49 +02:00
};
#endif //RAYCASTING_PLAYER_H