Code:
Prototype void object_add_surface_head(ACObject *ob, Surface *p);
will add it to the start of the list - very fast. (the order of the surfacelist is generally unimportant)
If you already have a list of surfaces, use this:
Code:
Prototype void object_add_surfaces(ACObject *ob, List *l);
(this simply calls object_add_surface_head for each item on the list).
the _head functions will always be faster.
Remember that vertices can't be shared across ACObjects.
Andy