Files
PlanetFleet/cameraController.h
T
devZoGok d3b7b88768 factored out camera handling
camera controls added to the map editor
2022-12-29 15:09:39 +02:00

22 lines
456 B
C++

#ifndef CAMERA_CONTROLLER_H
#define CAMERA_CONTROLLER_H
#include <vector.h>
namespace battleship{
class CameraController{
public:
static CameraController* getSingleton();
void updateCameraPosition();
void orientCamera(vb01::Vector3, double);
inline bool isLookingAround(){return lookingAround;}
inline void setLookingAround(bool l){lookingAround = l;}
private:
CameraController(){}
bool lookingAround = false;
};
}
#endif