28 #ifndef HPL_CAMERA2D_H 29 #define HPL_CAMERA2D_H 31 #include "hpl1/engine/math/MathTypes.h" 32 #include "hpl1/engine/scene/Camera.h" 36 class 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; }
77 #endif // HPL_CAMERA2D_H
Definition: Camera2D.h:38
Definition: LowLevelGraphics.h:200