140 return tmp.abs2(tmp2);
T cLib_calcTimer(T *value)
Definition c_lib.h:74
static char * tmp[5]
Definition d_a_npc_ashB.cpp:231
float sqrtf(float mag)
Definition math.h:62
Definition d_a_hozelda.cpp:18
Definition d_a_hozelda.cpp:20
f32 inprodXZ(const Vec &other) const
Definition c_xyz.h:150
cXyz normalize()
Definition c_xyz.cpp:100
f32 abs2XZ(const Vec &other) const
Definition c_xyz.h:137
cXyz operator+(Vec const &) const
cXyz(f32 x, f32 y, f32 z)
Definition c_xyz.h:18
bool normalizeRS()
Definition c_xyz.cpp:116
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:132
bool isNearZeroSquare() const
Definition c_xyz.h:130
f32 getSquareDistance(const Vec &other) const
Definition c_xyz.h:126
static const cXyz BaseYZ
Definition c_xyz.h:14
cXyz operator*(f32) const
cXyz()
Definition c_xyz.h:17
static const cXyz BaseXZ
Definition c_xyz.h:13
static const cXyz BaseY
Definition c_xyz.h:10
static float getNearZeroValue()
Definition c_xyz.h:128
void setMin(const cXyz &other)
Definition c_xyz.h:100
cXyz outprod(Vec const &) const
Definition c_xyz.cpp:54
f32 getDotProduct(const Vec &other) const
Definition c_xyz.h:148
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:88
static const cXyz BaseZ
Definition c_xyz.h:11
bool operator==(Vec const &) const
Definition c_xyz.cpp:126
static const cXyz BaseXYZ
Definition c_xyz.h:15
f32 abs(const Vec &other) const
Definition c_xyz.h:143
cXyz(const Vec &vec)
Definition c_xyz.h:28
~cXyz()
Definition c_xyz.h:16
float getSquareMag() const
Definition c_xyz.h:125
void operator/=(f32 scale)
Definition c_xyz.h:67
cXyz operator/(f32) const
Definition c_xyz.cpp:40
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:133
cXyz getCrossProduct(Vec const &) const
Definition c_xyz.cpp:47
f32 getXDiff(const Vec *other) const
Definition c_xyz.h:94
void zero()
Definition c_xyz.h:123
cXyz normalizeZP()
Definition c_xyz.cpp:106
void setMax(const cXyz &other)
Definition c_xyz.h:112
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:142
void operator-=(f32 f)
Definition c_xyz.h:49
f32 absXZ() const
Definition c_xyz.h:144
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:66
bool operator!=(Vec const &) const
Definition c_xyz.cpp:131
bool isZero() const
Definition c_xyz.cpp:136
f32 getMagXZ() const
Definition c_xyz.h:146
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:59
f32 abs2() const
Definition c_xyz.h:131
f32 inprod(const Vec &other) const
Definition c_xyz.h:149
f32 absXZ(const Vec &other) const
Definition c_xyz.h:145
float f32
Definition types.h:22
signed short s16
Definition types.h:5