[gts-general] Deleting surfaces
Brought to you by:
popinet
|
From: Stephane P. <s.p...@ni...> - 2001-08-16 21:19:50
|
Paul writes: > > How can I delete a GtsSurface? I have written a very simple model viewer > but when a new model is loaded the memory keeps on going up. Isn't there > anything I can call to delete the model? A GtsSurface is also (via inheritance) a GtsObject, as any GtsObject you can destroy it using gts_object_destroy(), like this GtsSurface * s; ... gts_object_destroy (GTS_OBJECT (s)); |