|
Constants for the math API
#define ON_PLANE 1 on the same plane
#define IN_BACK_OF_PLANE 2
#define IN_FRONT_OF_PLANE 3
#define CUTS_PLANE 4
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
returns the distance between two points in the power of two
example: p1=(0,0,0) p2=(10,0,0)
the distance is 10 so the return value will be 100
see also STATE_math_get_distance() which is the same only it
calls sqrt() at the end.
|