43 return ((
X *
X) + (
Y *
Y) + (
Z *
Z));
131 return (fabsf(
X - Arg.
X) < FLT_EPSILON && fabsf(
Y - Arg.
Y) < FLT_EPSILON && fabsf(
Z - Arg.
Z) < FLT_EPSILON);
136 return (fabsf(
X - Arg.
X) >= FLT_EPSILON || fabsf(
Y - Arg.
Y) >= FLT_EPSILON || fabsf(
Z - Arg.
Z) >= FLT_EPSILON);
145 #endif // #ifndef __VECTOR2D_H__ void operator*=(float Arg)
Definition: Vector3D.h:115
Vector3D(const Vector3D &Arg)
Definition: Vector3D.h:24
float Z
Definition: Vector3D.h:32
Vector3D GetNormalized() const
Definition: Vector3D.h:47
float GetSizeSq() const
Definition: Vector3D.h:41
bool operator==(const Vector3D &Arg) const
Definition: Vector3D.h:129
void operator-=(const Vector3D &Arg)
Definition: Vector3D.h:90
Vector3D operator/(float Arg) const
Definition: Vector3D.h:106
float X
Definition: Vector3D.h:30
void operator+=(const Vector3D &Arg)
Definition: Vector3D.h:83
float Y
Definition: Vector3D.h:31
Vector3D(float InX, float InY, float InZ)
Definition: Vector3D.h:19
Vector3D operator+(const Vector3D &Arg) const
Definition: Vector3D.h:65
float GetSize() const
Definition: Vector3D.h:35
static const Vector3D Zero
Definition: Vector3D.h:141
Vector3D()
Definition: Vector3D.h:14
Vector3D operator-(const Vector3D &Arg) const
Definition: Vector3D.h:74
bool operator!=(const Vector3D &Arg) const
Definition: Vector3D.h:134
void Normalize()
Definition: Vector3D.h:58
Vector3D operator*(float Arg) const
Definition: Vector3D.h:97
void operator/=(float Arg)
Definition: Vector3D.h:122