8 return fabsf(value) < 8e-11f;
12void cLib_memSet(
void* ptr,
int value,
unsigned long size);
40 value = (
T)(value & ~
bit);
45 value = (
T)(value |
bit);
50 return (
T)(value &
bit);
75 if (*(
T*)value != 0) {
Mtx * MtxPull(void)
Definition c_lib.cpp:393
Mtx * calc_mtx
Definition c_lib.cpp:350
void cLib_memSet(void *ptr, int value, unsigned long size)
Definition c_lib.cpp:16
int cLib_chasePosXZ(cXyz *o_value, cXyz const &target, f32 step)
Definition c_lib.cpp:280
void MtxInit(void)
Definition c_lib.cpp:353
s32 cLib_distanceAngleS(s16 x, s16 y)
Definition c_lib.cpp:341
s16 cLib_addCalcAngleS(s16 *o_value, s16 target, s16 scale, s16 maxStep, s16 minStep)
Definition c_lib.cpp:160
T cLib_checkBit(T value, T bit)
Definition c_lib.h:49
void cLib_memCpy(void *dst, const void *src, unsigned long size)
Definition c_lib.cpp:11
void cLib_addCalcPosXZ2(cXyz *o_value, cXyz const &target, f32 scale, f32 maxStep)
Definition c_lib.cpp:144
void MtxPush(void)
Definition c_lib.cpp:385
int cLib_chaseUC(u8 *o_value, u8 target, u8 step)
Definition c_lib.cpp:205
int cLib_chaseS(s16 *o_value, s16 target, s16 step)
Definition c_lib.cpp:229
void cLib_addCalc2(f32 *o_value, f32 target, f32 scale, f32 maxStep)
Definition c_lib.cpp:55
T cLib_minMaxLimit(T val, T min, T max)
Definition c_lib.h:54
void MtxTrans(f32, f32, f32, u8)
Definition c_lib.cpp:358
void MtxPosition(cXyz *, cXyz *)
Definition c_lib.cpp:380
void cLib_offsetPos(cXyz *pDest, cXyz const *pSrc, s16 angle, cXyz const *vec)
Definition c_lib.cpp:332
void MtxScale(f32, f32, f32, u8)
Definition c_lib.cpp:369
T cLib_calcTimer(T *value)
Definition c_lib.h:74
int cLib_chasePos(cXyz *o_value, cXyz const &target, f32 step)
Definition c_lib.cpp:263
s16 cLib_targetAngleY(const Vec *lhs, const Vec *rhs)
Definition c_lib.cpp:314
f32 cLib_addCalcPosXZ(cXyz *o_value, cXyz const &target, f32 scale, f32 maxStep, f32 minStep)
Definition c_lib.cpp:104
void cLib_onBit(T &value, T bit)
Definition c_lib.h:44
f32 cLib_addCalcPos(cXyz *o_value, cXyz const &target, f32 scale, f32 maxStep, f32 minStep)
Definition c_lib.cpp:79
void cLib_addCalcPos2(cXyz *o_value, cXyz const &target, f32 scale, f32 maxStep)
Definition c_lib.cpp:132
int cLib_chaseAngleS(s16 *o_value, s16 target, s16 step)
Definition c_lib.cpp:297
bool cLib_IsZero(f32 value)
Definition c_lib.h:7
T cLib_getRndValue(T min, T range)
Definition c_lib.h:82
s16 cLib_targetAngleX(const cXyz *, const cXyz *)
Definition c_lib.cpp:324
f32 cLib_addCalc(f32 *o_value, f32 target, f32 scale, f32 maxStep, f32 minStep)
Definition c_lib.cpp:21
T cLib_maxLimit(T val, T max)
Definition c_lib.h:59
void cLib_offBit(T &value, T bit)
Definition c_lib.h:39
void cLib_addCalc0(f32 *o_value, f32 scale, f32 maxStep)
Definition c_lib.cpp:68
void cLib_addCalcAngleS2(s16 *o_value, s16 target, s16 scale, s16 maxStep)
Definition c_lib.cpp:192
int cLib_chaseF(f32 *o_value, f32 target, f32 step)
Definition c_lib.cpp:246
float cM_rndF(float max)
Definition c_math.cpp:203
static void * target
Definition d_a_npc_cd2.cpp:1908
static u8 angle[2+2]
Definition d_a_obj_kago.cpp:845
double x double x
Definition e_atan2.c:58
double x double y
Definition e_atan2.c:58
static u8 max[12]
Definition f_op_actor_mng.cpp:1785
static u8 min[12]
Definition f_op_actor_mng.cpp:1773
static const double T[]
Definition k_tan.c:106
float fabsf(float f)
Definition math.h:38
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_hozelda.cpp:18
Definition d_a_hozelda.cpp:20
float f32
Definition types.h:22
signed short s16
Definition types.h:5
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8