|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <vec3d.h>
Public Member Functions | |
| float | length () const |
| float | lengthSquared () const |
| Vec2D & | normalize () |
| operator float * () | |
| float | operator* (const Vec2D &v) const |
| Vec2D | operator* (float d) const |
| Vec2D & | operator*= (float d) |
| Vec2D | operator+ (const Vec2D &v) const |
| Vec2D & | operator+= (const Vec2D &v) |
| Vec2D | operator- (const Vec2D &v) const |
| Vec2D & | operator-= (const Vec2D &v) |
| Vec2D & | operator= (const Vec2D &v) |
| Vec2D | operator~ () const |
| Vec2D (const Vec2D &v) | |
| Vec2D (float x0=0.0f, float y0=0.0f) | |
Public Attributes | |
| float | x |
| float | y |
Friends | |
| Vec2D | operator* (float d, const Vec2D &v) |
| std::istream & | operator>> (std::istream &in, Vec2D &v) |
|
inline |
Definition at line 133 of file vec3d.h.
Referenced by normalize(), operator*(), operator*(), operator*, operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator>>, operator~(), and Vec2D().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 202 of file vec3d.h.
References length(), operator*=(), and Vec2D().
Referenced by operator~().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 208 of file vec3d.h.
References normalize(), and Vec2D().
|
friend |
| float Vec2D::x |
Definition at line 131 of file vec3d.h.
Referenced by length(), lengthSquared(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator>>, Vec2D(), and Vec2D().
| float Vec2D::y |
Definition at line 131 of file vec3d.h.
Referenced by length(), lengthSquared(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator>>, Vec2D(), and Vec2D().