#include <OpenGUI_Types.h>
Public Member Functions | |
| IVector2 () | |
| constructor | |
| IVector2 (int x, int y) | |
| constructor | |
| IVector2 | operator+ (const IVector2 &right) const |
| operator + | |
| IVector2 | operator- (const IVector2 &right) const |
| operator - | |
| IVector2 | operator * (const IVector2 &right) const |
| operator * | |
| IVector2 | operator/ (const IVector2 &right) const |
| operator / | |
| IVector2 & | operator+= (const IVector2 &right) |
| operator += | |
| IVector2 & | operator-= (const IVector2 &right) |
| operator -= | |
| IVector2 & | operator *= (const IVector2 &right) |
| operator *= | |
| IVector2 & | operator/= (const IVector2 &right) |
| operator /= | |
| bool | operator== (const IVector2 &right) const |
| comparison operator | |
| bool | operator!= (const IVector2 &right) const |
| comparison operator | |
| IVector2 | operator- () |
| inverse operator | |
| std::string | toStr () const |
| Return a string representation of this value. | |
Public Attributes | |
| int | x |
| direct access to x | |
| int | y |
| direct access to y | |
| OpenGUI::IVector2::IVector2 | ( | ) | [inline] |
constructor
| OpenGUI::IVector2::IVector2 | ( | int | x, | |
| int | y | |||
| ) | [inline] |
constructor
| bool OpenGUI::IVector2::operator!= | ( | const IVector2 & | right | ) | const [inline] |
comparison operator
| IVector2 OpenGUI::IVector2::operator- | ( | ) | [inline] |
inverse operator
| bool OpenGUI::IVector2::operator== | ( | const IVector2 & | right | ) | const [inline] |
comparison operator
| std::string OpenGUI::IVector2::toStr | ( | ) | const |
Return a string representation of this value.
direct access to x
direct access to y