31#include "hpl1/engine/math/MathTypes.h"
32#include "hpl1/engine/scene/Camera.h"
36class iLowLevelGraphics;
40 cCamera2D(
unsigned int alW,
unsigned int alH);
43 const cVector3f &GetPosition()
const {
return mvPosition; }
45 void SetPosition(
cVector3f avPos) { mvPosition = avPos; }
48 mvPosition.x = avPos.x;
49 mvPosition.y = avPos.y;
51 void SetZ(
float afZ) { mvPosition.z = afZ; }
53 mvPosition.x += avAdd.x;
54 mvPosition.y += avAdd.y;
56 void MoveZ(
float afZ) { mvPosition.z += afZ; }
58 void GetClipRect(
cRect2f &aRect);
63 eCameraType GetType() {
return eCameraType_2D; }
Definition: Camera2D.h:38
Definition: LowLevelGraphics.h:200