struct
#include <OE/Misc/RectsPacker.hpp>
Packeable2DRectWH
Contents
Derived classes
- struct Packeable2DRectXYWH
Constructors, destructors, conversion operators
- Packeable2DRectWH(const Packeable2DRectLTRB&)
- Packeable2DRectWH(const Packeable2DRectXYWH&)
- Packeable2DRectWH(int w = 0, int h = 0)
Public functions
- auto area() -> int
- auto perimeter() -> int
- auto fits(const Packeable2DRectWH& bigger) const -> int