Functions | |
CLUquaternion * | cluNewQuaternion (GLvoid) |
CLUplane * | cluNewPlane (GLvoid) |
CLUsphere * | cluNewSphere (GLvoid) |
CLUcone * | cluNewCone (GLvoid) |
CLUray * | cluNewRay (GLvoid) |
CLUalignedbox * | cluNewAlignedBox (GLvoid) |
CLU[name]* cluNew[Name](GLvoid)
allocate memory for a CLU struct. These functions are analogous to the standard "malloc" function. They return a pointer to the malloced space or NULL if the request fails. Unlike malloc, these functions do not return a a void* since the memory is known to be for a certain struct. These functions call their respective cluInit functions to ensure that the variables are initialised to "safe" values.