implemented application and scenegraph

This commit is contained in:
cirdan
2008-01-20 10:16:37 +00:00
parent 77504c68f3
commit 2373b382f1
29 changed files with 2196 additions and 2076 deletions

View File

@ -19,12 +19,14 @@ private:
Vector3 _LookAtPoint;
Vector3 _LookAtUp;
bool _LookAt;
Scalar _NearPlane, _FarPlane, _FoV, _AspectRatio;
Scalar _FoV, _NearPlane, _FarPlane;
//Frustum _Frustum;
Vector3 _Position;
Quaternion _Rotation;
void updateLookAtRotation();
public:
Camera();
@ -35,7 +37,6 @@ public:
void lookStraight();
void setFoV(Scalar fov);
void setAspectRatio(Scalar aspect);
void setNearPlane(Scalar near);
void setFarPlane(Scalar far);
@ -48,7 +49,7 @@ public:
Scalar getNearPlane() const;
Scalar getFarPlane() const;
Scalar getFov() const;
//const Frustum &getFrustum() const;
};