![]()
geXFArray
Description: object to formalize an array of transforms
Source file: ...\genesis3d\OpenSource\Source\Actor\xfarray.h
Functions:
Create, Destroy, GetElements, SetAll geXFArrayOverview:
viewAdditions for Genesis3D v1.6: None
![]()
This is a simple object to formalize an array of transforms (geXForm3d). Unfortunately, it's not a very safe object. This object exports data (allows external access to one of it's data members). This is dangerous - no checking can be done on the use of that data, and no checking can be done on array boundry conditions. This is on purpose. ...In the name of optimal access to the array.
Return to Contents
![]()
Types:
geXFArray;NOTE: The contents of this structure have been intentionally left out of the interface, by the designers of this module. Think of this as a handle only.
Return to Contents
![]()
Functions:
geXFArray *GENESISCC geXFArray_Create(int Size);
Create the object. Creates an array of Size elements.
All elements are initialized to the identity transform
Return to Contents
![]()
Destroy the object. Don't use the pointer returned by _GetElements
after destroying the ojbect!
Return to Contents
![]()
geXForm3d *GENESISCC geXFArray_GetElements(const geXFArray *XFA, int *Size);
Get a pointer to the array. For external iteration. The size of the
array is returned in Size. Valid array indicies are (0..Size-1)
Return to Contents
![]()
Sets every transform in the array to the given transform.
Return to Contents
![]()