|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <vec3d.h>
Public Member Functions | |
| float | length () const |
| float | lengthSquared () const |
| Vec3D & | normalize () |
| operator float * () | |
| Vec3D | operator% (const Vec3D &v) const |
| float | operator* (const Vec3D &v) const |
| Vec3D | operator* (float d) const |
| Vec3D & | operator*= (float d) |
| Vec3D | operator+ (const Vec3D &v) const |
| Vec3D & | operator+= (const Vec3D &v) |
| Vec3D | operator- (const Vec3D &v) const |
| Vec3D & | operator-= (const Vec3D &v) |
| Vec3D & | operator= (const Vec3D &v) |
| Vec3D | operator~ () const |
| Vec3D (const Vec3D &v) | |
| Vec3D (float x0=0.0f, float y0=0.0f, float z0=0.0f) | |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Friends | |
| Vec3D | operator* (float d, const Vec3D &v) |
| std::ostream & | operator<< (std::ostream &out, const Vec3D &v) |
| std::istream & | operator>> (std::istream &in, Vec3D &v) |
|
inline |
Definition at line 17 of file vec3d.h.
Referenced by normalize(), operator%(), operator*(), operator*(), operator*, operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator<<, operator=(), operator>>, operator~(), and Vec3D().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 96 of file vec3d.h.
References length(), operator*=(), and Vec3D().
Referenced by operator~().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 102 of file vec3d.h.
References normalize(), and Vec3D().
|
friend |
|
friend |
| float Vec3D::x |
Definition at line 15 of file vec3d.h.
Referenced by fixCoords(), fixCoordSystem(), fixCoordSystem2(), length(), lengthSquared(), operator%(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator<<, operator=(), operator>>, Vec3D(), and Vec3D().
| float Vec3D::y |
Definition at line 15 of file vec3d.h.
Referenced by fixCoords(), fixCoordSystem(), fixCoordSystem2(), length(), lengthSquared(), operator%(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator<<, operator=(), operator>>, Vec3D(), and Vec3D().
| float Vec3D::z |
Definition at line 15 of file vec3d.h.
Referenced by fixCoords(), fixCoordSystem(), fixCoordSystem2(), length(), lengthSquared(), operator%(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator<<, operator=(), operator>>, Vec3D(), and Vec3D().