AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "vec3d.h"
Public Member Functions | |
Vec2D (float x0=0.0f, float y0=0.0f) | |
Vec2D (const Vec2D &v) | |
Vec2D & | operator= (const Vec2D &v) |
Vec2D | operator+ (const Vec2D &v) const |
Vec2D | operator- (const Vec2D &v) const |
float | operator* (const Vec2D &v) const |
Vec2D | operator* (float d) const |
Vec2D & | operator+= (const Vec2D &v) |
Vec2D & | operator-= (const Vec2D &v) |
Vec2D & | operator*= (float d) |
float | lengthSquared () const |
float | length () const |
Vec2D & | normalize () |
Vec2D | operator~ () const |
operator float * () | |
Public Attributes | |
float | x |
float | y |
Friends | |
Vec2D | operator* (float d, const Vec2D &v) |
std::istream & | operator>> (std::istream &in, Vec2D &v) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by normalize().
|
inline |
References normalize().
|
friend |
float Vec2D::x |
Referenced by length(), lengthSquared(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), and operator=().
float Vec2D::y |
Referenced by length(), lengthSquared(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), and operator=().