#include "Zdef.h"
#include <math.h>
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | ZM_FLOAT_EQ(x, v) (((v - ZD_EPSILON) <x) && (x < (v + ZD_EPSILON))) |
float equivalence test | |
#define | ZM_SQRT(x) (zfloat) sqrt(x) |
sqrt | |
#define | ZM_FABS(x) fabs(x) |
fabs | |
#define | ZM_CVECTOR3_OUT(x) printf("x:%1.2f, y:%1.2f, z:%1.2f\n", x.fCoord[0], x.fCoord[1], x.fCoord[2]) |
output a CVector3 | |
#define | ZM_CVECTORTEX3_OUT(x) printf("x:%1.2f, y:%1.2f, z:%1.2f, u:%1.2f, v:%1.2f\n", x.fCoord[0], x.fCoord[1], x.fCoord[2], x.fTexcoord[0], x.fTexcoord[1]) |
output a CVectorTex3 | |
#define | ZM_FLOAT_OUT(x) printf("%1.2f\n", x) |
output a zfloat |
|
output a CVector3
|
|
output a CVectorTex3
|
|
fabs
|
|
float equivalence test
|
|
output a zfloat
|
|
sqrt
|