2015-11-21 01:14:49 +00:00
|
|
|
#ifndef SPECTER_VIEW_HPP
|
|
|
|
#define SPECTER_VIEW_HPP
|
|
|
|
|
2015-11-21 23:45:02 +00:00
|
|
|
#include <boo/boo.hpp>
|
2015-11-25 01:46:30 +00:00
|
|
|
#include "CVector3f.hpp"
|
|
|
|
#include "CMatrix4f.hpp"
|
|
|
|
#include "CTransform.hpp"
|
|
|
|
#include "CColor.hpp"
|
2015-11-21 23:45:02 +00:00
|
|
|
|
2015-11-21 01:14:49 +00:00
|
|
|
namespace Specter
|
|
|
|
{
|
|
|
|
|
|
|
|
class View
|
|
|
|
{
|
2015-11-25 01:46:30 +00:00
|
|
|
protected:
|
|
|
|
boo::SWindowRect m_viewport;
|
|
|
|
void bindViewport(boo::IGraphicsCommandQueue* gfxQ) {gfxQ->setViewport(m_viewport);}
|
2015-11-21 23:45:02 +00:00
|
|
|
public:
|
|
|
|
virtual void draw(boo::IGraphicsCommandQueue* gfxQ)=0;
|
2015-11-21 01:14:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // SPECTER_VIEW_HPP
|