Two-dimensional coordinate, used internally. More...
Public Member Functions | |
xyPair (const Mouse::xyCoord &xy) | |
xyPair (float x_, float y_) | |
xyPair (float n) | |
xyPair () | |
Public Attributes | |
float | x |
float | y |
Friends | |
xyPair | operator+ (const xyPair &lhs, const xyPair &rhs) |
xyPair | operator- (const xyPair &lhs, const xyPair &rhs) |
xyPair | operator* (const xyPair &lhs, const xyPair &rhs) |
xyPair | operator/ (const xyPair &lhs, const xyPair &rhs) |
float | Dot (const xyPair &lhs, const xyPair &rhs) |
Two-dimensional coordinate, used internally.
May throw a warning with certain compilers due to casting int values to floating point values in the first overload.
uiCore::Trackball::xyPair::xyPair | ( | const Mouse::xyCoord & | xy | ) | [inline] |
uiCore::Trackball::xyPair::xyPair | ( | float | x_, |
float | y_ | ||
) | [inline] |
uiCore::Trackball::xyPair::xyPair | ( | float | n | ) | [inline] |
uiCore::Trackball::xyPair::xyPair | ( | ) | [inline] |
Referenced by uiCore::Trackball::mouseMove().
Referenced by uiCore::Trackball::mouseMove().