2021-01-13 16:47:16 -06:00
|
|
|
#ifndef CAMERA_H
|
|
|
|
#define CAMERA_H
|
|
|
|
|
2021-01-24 16:37:35 -06:00
|
|
|
#include "Transform.h"
|
2021-01-13 16:47:16 -06:00
|
|
|
|
2021-01-24 16:37:35 -06:00
|
|
|
class Camera {
|
2021-01-13 16:47:16 -06:00
|
|
|
public:
|
2021-01-24 16:37:35 -06:00
|
|
|
Transform transform;
|
2021-01-13 16:47:16 -06:00
|
|
|
Camera();
|
|
|
|
void MakeCurrent();
|
|
|
|
static Camera *GetCurrentCamera();
|
|
|
|
private:
|
|
|
|
static Camera *currentCamera;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* CAMERA_H */
|