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