types 3 LIBG3D Library types Basic types Synopsis #include <g3d/types.h> typedef G3DSingle; typedef G3DDouble; typedef G3DFloat; #define G3D_FLOAT_IS_DOUBLE Description Some basic type abstractions used in libg3d. Details G3DSingle G3DSingletypedef gfloat G3DSingle; Single-precision floating point number. G3DDouble G3DDoubletypedef gdouble G3DDouble; Double-precision floating point number. G3DFloat G3DFloat 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_DOUBLE G3D_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.