implemented application and scenegraph
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user