cluNew functions
[Standard functions]

Standard functions for allocating memory for CLU structs. More...

Functions

CLUquaternioncluNewQuaternion (GLvoid)
CLUplanecluNewPlane (GLvoid)
CLUspherecluNewSphere (GLvoid)
CLUconecluNewCone (GLvoid)
CLUraycluNewRay (GLvoid)
CLUalignedboxcluNewAlignedBox (GLvoid)

Detailed Description

The cluNew functions are of the form:

  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.


Generated on Thu Dec 27 13:53:42 2007 for CLU by  doxygen 1.4.6