View Single Post
Old 19th March 2004, 10:32 AM   #5
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,564
Default Re: Adding lots of surfaces quickly - Importer plugin

Gorgeous!

>is there a quicker way to get a list of all the Vertex pointers?

You can use:

Code:
Prototype ListData *list_create_array(List *l, int numitems); // free with myfree()
on a list. It returns an array of the list-data pointers e.g. give this the list of an object's vertices. Each item in the array will then be the address of each vertex.

free the block of memory with myfree().

Andy
Andy is offline   Reply With Quote