DoorKeeper/include/components/viewport.hpp
King_DuckZ e63aebe6e1 Some changes and the build is fine again.
This is a test version, design is still in progress.
2014-12-09 22:30:06 +01:00

24 lines
512 B
C++

#ifndef id0ADBCC15BA574485BF3267254090D99B
#define id0ADBCC15BA574485BF3267254090D99B
#include "primitivetypes.hpp"
namespace dk {
template <size_t D>
class Viewport {
public:
typedef Vector<CoordinateScalarType, D> coords;
explicit Viewport ( const coords& parSize );
Viewport ( const coords& parSize, const coords& parPos );
~Viewport ( void ) noexcept = default;
Viewport& operator= ( const Viewport& ) = default;
private:
coords m_size;
coords m_position;
};
} //namespace dk
#endif