Public Member Functions | |
| KCamera (float Fov, float Aspect, float Near, float Far) | |
| virtual | ~KCamera () |
| void | SetParam (float Fov, float Aspect, float Near, float Far) |
| void | Reset () |
| KMatrix | GetMatrix () |
| void | RotateX (float ang) |
| void | RotateY (float ang) |
| void | RotateZ (float ang) |
| virtual void | Translate (float x, float y, float z) |
| void | SetCameraPosition (float x, float y, float z) |
| void | SetTargetPosition (float x, float y, float z) |
| void | ComputeLookAtMatrix () |
| virtual KVector | GetPos () |
| virtual void | SetPos (float x, float y, float z) |
| virtual void | GetAxes (KVector &vRight, KVector &vUp, KVector &vView) |
| void | GetFrustumPlanes (KPlane pPlanes[6]) |
| void | GetFrustumPoints (KVector pPoints[8]) |
| float | GetFov () |
| float | GetAspect () |
| float | GetNearPlane () |
| float | GetFarPlane () |
| void | SetFarPlane (float FarPlane) |
| void | SetFov (float Fov) |
| float | GetYaw () |
| float | GetPitch () |
Protected Member Functions | |
| void | RotX (float ang) |
| void | RotY (float ang) |
| void | RotZ (float ang) |
Protected Attributes | |
| KMatrix | m_Target |
| KMatrix | m_TargetRot |
| KVector | m_CameraPos |
| KVector | m_TargetPos |
| KMatrix | m_Matrix |
| float | m_Fov |
| float | m_Aspect |
| float | m_Near |
| float | m_Far |
| float | m_fYaw |
| float | m_fPitch |
| KVector | m_Pos |
Definition at line 21 of file Camera.h.
1.5.1-p1