Crazy Eddies GUI System
0.7.9
|
Two dimensional vector class built using unified dimensions (UDims). The UVector2 class is used for representing both positions and sizes. More...
Public Member Functions | |
UVector2 (const UDim &x, const UDim &y) | |
UVector2 (const UVector2 &v) | |
Vector2 | asAbsolute (const Size &base) const |
Vector2 | asRelative (const Size &base) const |
UVector2 | operator+ (const UVector2 &other) const |
UVector2 | operator- (const UVector2 &other) const |
UVector2 | operator/ (const UVector2 &other) const |
UVector2 | operator* (const UVector2 &other) const |
const UVector2 & | operator+= (const UVector2 &other) |
const UVector2 & | operator-= (const UVector2 &other) |
const UVector2 & | operator/= (const UVector2 &other) |
const UVector2 & | operator*= (const UVector2 &other) |
UVector2 | operator+ (const UDim &dim) const |
UVector2 | operator- (const UDim &dim) const |
UVector2 | operator/ (const UDim &dim) const |
UVector2 | operator* (const UDim &dim) const |
const UVector2 & | operator+= (const UDim &dim) |
const UVector2 & | operator-= (const UDim &dim) |
const UVector2 & | operator/= (const UDim &dim) |
const UVector2 & | operator*= (const UDim &dim) |
bool | operator== (const UVector2 &other) const |
bool | operator!= (const UVector2 &other) const |
Public Attributes | |
UDim | d_x |
UDim | d_y |
Two dimensional vector class built using unified dimensions (UDims). The UVector2 class is used for representing both positions and sizes.