port from perforce
This commit is contained in:
27
aiwaz/Aiwaz/Resources/Camera/PerspectiveCamera.h
Normal file
27
aiwaz/Aiwaz/Resources/Camera/PerspectiveCamera.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "BaseCamera.h"
|
||||
|
||||
|
||||
class PerspectiveCamera
|
||||
: public BaseCamera
|
||||
, public IPerspectiveCamera
|
||||
{
|
||||
public:
|
||||
PerspectiveCamera(IEngine& argEngine);
|
||||
virtual ~PerspectiveCamera();
|
||||
|
||||
virtual void set_Fov(float argValue);
|
||||
virtual float get_Fov() const { return m_Fov; }
|
||||
|
||||
virtual void Update(bool argForceUpdate);
|
||||
|
||||
virtual ICamera& get_Base() { return *dynamic_cast<ICamera*>(this); }
|
||||
|
||||
protected:
|
||||
// ICommandUser
|
||||
virtual string8 get_UserName() const { return "PerspectiveCamera"; }
|
||||
|
||||
private:
|
||||
float m_Fov;
|
||||
};
|
||||
Reference in New Issue
Block a user