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