2D Size structure More...
#include <Types/Size2.h>
Public Member Functions | |
Size2 (const T &width, const T &height) | |
Basic constructor. | |
template<typename U > | |
Size2 (const Vec2< U > &size) | |
Converts a Vec2 to Size2. | |
bool | operator== (const Size2< T > &s) const |
equality operator | |
Public Attributes | |
T | width |
T | height |
2D Size structure
2D size containing two fields (width and height).
Basic constructor.
width | the value for the width | |
height | the value for the height |
equality operator
s | the second size to compare against |