![]() |
VR-Forces 4.0.4 Class Documentation
|
A 2D point. More...
Public Member Functions | |
| DtPoint (float x=0.0f, float y=0.0f) | |
| Constructor takes the x & y values,. | |
| DtPoint & | operator+= (const DtPoint &p2) |
| Increment this point by another. | |
| DtPoint & | operator-= (const DtPoint &p2) |
| Decrement this point by another. | |
| bool | operator== (const DtPoint &p2) const |
| Do these two points have the same values? | |
| bool | operator!= (const DtPoint &p2) const |
| Do these two points have different values? | |
| DtPoint | operator+ (const DtPoint &p2) const |
| Create a new point which is these two points added together. | |
| DtPoint | operator- (const DtPoint &p2) const |
| Create a new point which is this point subtracted by another. | |
Public Attributes | |
| float | myX |
| float | myY |
A 2D point.
| makVrv::DtPoint::DtPoint | ( | float | x = 0.0f, |
| float | y = 0.0f |
||
| ) | [inline] |
Constructor takes the x & y values,.
| float makVrv::DtPoint::myX |
Referenced by operator!=(), operator+(), operator+=(), operator-(), operator-=(), and operator==().
| float makVrv::DtPoint::myY |
Referenced by operator!=(), operator+(), operator+=(), operator-(), operator-=(), and operator==().