2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-01 00:13:29 +00:00
2015-11-21 13:45:02 -10:00

23 lines
342 B
C++

#ifndef SPECTER_VIEW_HPP
#define SPECTER_VIEW_HPP
#include <boo/boo.hpp>
namespace Specter
{
class View
{
boo::SWindowRect m_rect;
public:
void bindViewport(boo::IGraphicsCommandQueue* gfxQ)
{
gfxQ->setViewport(m_rect);
}
virtual void draw(boo::IGraphicsCommandQueue* gfxQ)=0;
};
}
#endif // SPECTER_VIEW_HPP