DoorKeeper/include/viewport.hpp

22 lines
429 B
C++
Raw Normal View History

2014-08-27 14:03:56 +00:00
#ifndef id0ADBCC15BA574485BF3267254090D99B
#define id0ADBCC15BA574485BF3267254090D99B
#include "coords.hpp"
namespace dk {
class Viewport {
public:
explicit Viewport ( const Coords& parSize );
Viewport ( const Coords& parSize, const Coord; parPos );
~Viewport ( void ) noexcept = default;
Viewport& operator= ( const Viewport& ) = default;
private:
Coords size_;
Coords position_;
};
} //namespace dk
#endif