Go to the documentation of this file.
82 const double FM_PI = 3.141592654f;
87 void fm_inverseRT(
const double *matrix,
const double *pos,
double *t);
88 void fm_transform(
const double *matrix,
const double *pos,
double *t);
89 void fm_rotate(
const double *matrix,
const double *pos,
double *t);
91 void fm_getAABB(
unsigned int vcount,
const double *points,
unsigned int pstride,
double *bmin,
double *bmax);
92 void fm_eulerToQuat(
double roll,
double pitch,
double yaw,
double *quat);
94 void fm_quatRotate(
const double *quat,
const double *v,
double *r);
100 double fm_distance(
const double *p1,
const double *p2);
102 double fm_computePlane(
const double *p1,
const double *p2,
const double *p3,
double *n);
104 double fm_dot(
const double *p1,
const double *p2);
105 void fm_cross(
double *
cross,
const double *a,
const double *b);
void fm_matrixToQuat(const double *matrix, double *quat)
void fm_cross(double *cross, const double *a, const double *b)
void fm_getTranslation(const double *matrix, double *t)
void fm_normalize(double *n)
double fm_distToPlane(const double *plane, const double *p)
void fm_quatRotate(const double *quat, const double *v, double *r)
void fm_rotate(const double *matrix, const double *v, double *t)
void fm_quatToMatrix(const double *quat, double *matrix)
double fm_sphereVolume(double radius)
double fm_dot(const double *p1, const double *p2)
void fm_inverseRT(const double *matrix, const double *pos, double *t)
void fm_identity(double *matrix)
const double FM_RAD_TO_DEG
double fm_distance(const double *p1, const double *p2)
void fm_computeNormalVector(double *n, const double *p1, const double *p2)
void fm_transform(const double *matrix, const double *v, double *t)
void fm_getAABB(unsigned int vcount, const double *points, unsigned int pstride, double *bmin, double *bmax)
double fm_cylinderVolume(double radius, double h)
double3 cross(const double3 &a, const double3 &b)
void fm_eulerMatrix(double ax, double ay, double az, double *matrix)
void fm_eulerToQuat(double roll, double pitch, double yaw, double *quat)
const double FM_DEG_TO_RAD
double fm_computePlane(const double *A, const double *B, const double *C, double *n)
double fm_distanceSquared(const double *p1, const double *p2)
double fm_capsuleVolume(double radius, double h)
bool fm_computeWindingOrder(const double *p1, const double *p2, const double *p3)