cluCopy functions
[Standard functions]

Standard functions to "deep" copy CLU structs. More...

Functions

CLUquaternioncluCopyQuaternion (CLUquaternion *dest, const CLUquaternion *src)
CLUplanecluCopyPlane (CLUplane *dest, const CLUplane *src)
CLUspherecluCopySphere (CLUsphere *dest, const CLUsphere *src)
CLUconecluCopyCone (CLUcone *dest, const CLUcone *src)
CLUraycluCopyRay (CLUray *dest, const CLUray *src)
CLUalignedboxcluCopyAlignedBox (CLUalignedbox *dest, const CLUalignedbox *src)

Detailed Description

Functions of the form:

   CLU[name]* cluCopy[Name](CLU[name]* dest, const CLU[name]* src)
  

"deep" copy CLU structs. These functions are analogous to the standard "memcpy" function. Unlike the memcpy function, the size of the structs to copy is known. Thus the function does not accept the number of bytes to copy as an argument. Also, it returns a pointer to the dest as a CLU[name]* rather than a void* since the type is known.


Function Documentation

CLUquaternion* cluCopyQuaternion CLUquaternion dest,
const CLUquaternion src
 

Todo:
Docs

Definition at line 11 of file clucopy.c.

Referenced by cluQuaternionMultiply().


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