types3LIBG3D LibrarytypesBasic typesSynopsis
#include <g3d/types.h>
typedef G3DSingle;
typedef G3DDouble;
typedef G3DFloat;
#define G3D_FLOAT_IS_DOUBLE
Description
Some basic type abstractions used in libg3d.DetailsG3DSingleG3DSingletypedef gfloat G3DSingle;
Single-precision floating point number.G3DDoubleG3DDoubletypedef gdouble G3DDouble;
Double-precision floating point number.G3DFloatG3DFloat
Default floating point type. If used consistently in the library (not the
case at the moment) this type can be switched between single and double
precision at compile-time.G3D_FLOAT_IS_DOUBLEG3D_FLOAT_IS_DOUBLE#define G3D_FLOAT_IS_DOUBLE
A flag indicating type of G3DFloat. It is TRUE if G3DFloat is double and
FALSE if G3DFloat is single precision.