00001 #ifndef __RECT_H__ 00002 #define __RECT_H__ 00003 00004 #ifndef DOXYGEN_IGNORE_TAG 00005 00026 #endif 00027 00028 #include "../Types/Vec2.h" 00029 #include "../Types/Size2.h" 00030 00031 struct Rect 00032 { 00033 IVec2 position; 00034 USize2 size; 00036 Rect(const IVec2& position, const USize2& size):position(position),size(size) {} 00037 }; 00038 00050 #endif