63 VECAdd(
this, &other,
this);
113 cXyz tmp(this->
x, 0, this->
z);
117 cXyz tmp(this->
x, 0, this->
z);
118 cXyz tmp2(other.
x, 0, other.
z);
119 return tmp.
abs2(tmp2);
float sqrtf(float mag)
Definition math.h:66
Definition d_a_hozelda.cpp:18
Definition d_a_hozelda.cpp:20
f32 inprodXZ(const Vec &other) const
Definition c_xyz.h:132
cXyz normalize()
Definition c_xyz.cpp:98
f32 abs2XZ(const Vec &other) const
Definition c_xyz.h:116
cXyz operator+(Vec const &) const
Definition c_xyz.cpp:11
cXyz(f32 x, f32 y, f32 z)
Definition c_xyz.h:18
bool normalizeRS()
Definition c_xyz.cpp:115
void operator-=(const Vec &other)
Definition c_xyz.h:61
void operator*=(f32 scale)
Definition c_xyz.h:66
f32 abs2(const Vec &other) const
Definition c_xyz.h:111
bool isNearZeroSquare() const
Definition c_xyz.h:107
f32 getSquareDistance(const Vec &other) const
Definition c_xyz.h:103
static const cXyz BaseYZ
Definition c_xyz.h:14
cXyz operator*(f32) const
Definition c_xyz.cpp:25
cXyz()
Definition c_xyz.h:17
static const cXyz BaseXZ
Definition c_xyz.h:13
static const cXyz BaseY
Definition c_xyz.h:10
cXyz outprod(Vec const &) const
Definition c_xyz.cpp:55
bool isNearZeroSquare(const cXyz &other) const
Definition c_xyz.h:108
f32 getDotProduct(const Vec &other) const
Definition c_xyz.h:129
cXyz(const cXyz &vec)
Definition c_xyz.h:23
void operator=(const Vec &vec)
Definition c_xyz.h:33
void operator*=(const Vec &other)
Definition c_xyz.h:55
cXyz normZC() const
Definition c_xyz.cpp:79
static const cXyz BaseZ
Definition c_xyz.h:11
bool operator==(Vec const &) const
Definition c_xyz.cpp:125
static const cXyz BaseXYZ
Definition c_xyz.h:15
static f32 getNearZeroValue()
Definition c_xyz.h:105
f32 abs(const Vec &other) const
Definition c_xyz.h:123
cXyz(const Vec &vec)
Definition c_xyz.h:28
~cXyz()
Definition c_xyz.h:16
void operator/=(f32 scale)
Definition c_xyz.h:67
cXyz operator/(f32) const
Definition c_xyz.cpp:41
void set(f32 pX, f32 pY, f32 pZ)
Definition c_xyz.h:82
cXyz * operator+=(const Vec &other)
Definition c_xyz.h:62
f32 abs2XZ() const
Definition c_xyz.h:112
cXyz getCrossProduct(Vec const &) const
Definition c_xyz.cpp:48
f32 getXDiff(const Vec *other) const
Definition c_xyz.h:94
void zero()
Definition c_xyz.h:100
cXyz normalizeZP()
Definition c_xyz.cpp:105
f32 getYDiff(const Vec *other) const
Definition c_xyz.h:95
void setall(f32 f)
Definition c_xyz.h:98
void set(const Vec &other)
Definition c_xyz.h:88
f32 abs() const
Definition c_xyz.h:122
void operator-=(f32 f)
Definition c_xyz.h:49
f32 getSquareMag() const
Definition c_xyz.h:102
f32 absXZ() const
Definition c_xyz.h:124
f32 getZDiff(const Vec *other) const
Definition c_xyz.h:96
static const cXyz BaseX
Definition c_xyz.h:9
cXyz normZP() const
Definition c_xyz.cpp:68
bool operator!=(Vec const &) const
Definition c_xyz.cpp:130
bool isZero() const
Definition c_xyz.cpp:135
f32 getMagXZ() const
Definition c_xyz.h:127
cXyz operator-(Vec const &) const
void operator+=(f32 f)
Definition c_xyz.h:44
static const cXyz BaseXY
Definition c_xyz.h:12
static const cXyz Zero
Definition c_xyz.h:8
cXyz norm() const
Definition c_xyz.cpp:60
f32 abs2() const
Definition c_xyz.h:110
f32 inprod(const Vec &other) const
Definition c_xyz.h:131
f32 absXZ(const Vec &other) const
Definition c_xyz.h:125
signed short int s16
Definition types.h:6
float f32
Definition types.h:22
asm f32 PSVECDotProduct(const register Vec *a, const register Vec *b)
Definition vec.c:181