21 lines
439 B
C++
21 lines
439 B
C++
#ifndef id0ADBCC15BA574485BF3267254090D99B
|
|
#define id0ADBCC15BA574485BF3267254090D99B
|
|
|
|
#include "implem/coords.hpp"
|
|
|
|
namespace dk {
|
|
class Viewport {
|
|
public:
|
|
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
|