Functions | |
HT_Polyhedron * | New_User_Shell () |
void | Free_User_Shell (HT_Polyhedron *polyhedron) |
|
Allocates a new polyhedron descriptor structure.
DETAILSThese routines are used to allocate and free memory associated with an HT_Polyhedron union. HT_Polyhedron is implemented as a C union that can hold either a mesh or a shell. Shells and meshes that are captured inside a 'draw 3d geometry' callback can be cast to HT_Polyhedron and passed further along, either through HIC_Draw_3D_Polyhedron() or HIC_Draw_3D_(Geometry).NOTESTo assign values for each item of HT_Polyhedron, the user must call: HIC_Set_User_Shell. Once these values are assigned, the tristrip edges are drawn by calling HIC_Draw_3D_Polyhedron().
|
|
Destroys the shell and frees the memory associated with a HT_Polyhedron descriptor structure.
DETAILSNo additional details. See New_User_Shell() |