22 lines
429 B
C++
22 lines
429 B
C++
|
#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
|