added RenderQueue
This commit is contained in:
		@@ -8,7 +8,8 @@
 | 
			
		||||
#include "Math/Plane.h"
 | 
			
		||||
//#include "geometry/frustum.h"
 | 
			
		||||
 | 
			
		||||
namespace BlueCore {
 | 
			
		||||
namespace BlueCore
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
class Camera : public Referenced
 | 
			
		||||
{
 | 
			
		||||
@@ -23,28 +24,30 @@ private:
 | 
			
		||||
 | 
			
		||||
	Vector3 _Position;
 | 
			
		||||
	Quaternion _Rotation;
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
 | 
			
		||||
	Camera();
 | 
			
		||||
	~Camera();
 | 
			
		||||
 | 
			
		||||
	void lookAt( const Vector3 &point );
 | 
			
		||||
	void lookAt( const Vector3 &point, const Vector3 &up );
 | 
			
		||||
	void lookAt(const Vector3 &point);
 | 
			
		||||
	void lookAt(const Vector3 &point, const Vector3 &up);
 | 
			
		||||
	void lookStraight();
 | 
			
		||||
 | 
			
		||||
	void setFoV( Scalar fov );
 | 
			
		||||
	void setAspectRatio( Scalar aspect );
 | 
			
		||||
	void setNearPlane( Scalar near );
 | 
			
		||||
	void setFarPlane( Scalar far );
 | 
			
		||||
	void setFoV(Scalar fov);
 | 
			
		||||
	void setAspectRatio(Scalar aspect);
 | 
			
		||||
	void setNearPlane(Scalar near);
 | 
			
		||||
	void setFarPlane(Scalar far);
 | 
			
		||||
 | 
			
		||||
	void setPosition (const Vector3& position);
 | 
			
		||||
	const Vector3& getPosition ();
 | 
			
		||||
	void setPosition(const Vector3& position);
 | 
			
		||||
	const Vector3& getPosition();
 | 
			
		||||
 | 
			
		||||
  void setRotation (const Quaternion& rotation);
 | 
			
		||||
	void setRotation(const Quaternion& rotation);
 | 
			
		||||
	const Quaternion& getRotation();
 | 
			
		||||
 | 
			
		||||
	void setupViewMatrix ();
 | 
			
		||||
  void setupProjectionMatrix ();
 | 
			
		||||
	Scalar getNearPlane() const;
 | 
			
		||||
	Scalar getFarPlane() const;
 | 
			
		||||
	Scalar getFov() const;
 | 
			
		||||
	
 | 
			
		||||
	//const Frustum &getFrustum() const;
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user