Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 5th December 2004, 08:01 PM   #1
LiveWire
Senior Member
Professional user
 
Join Date: Nov 2003
Location: Eugene OR, USA
Posts: 212
Default Adding Vertices(in list) to and Object.

take a look at:
Code:
List *VertList;
for(loop...)
{
    Vertex *temp_vert = new_vertex_set(x, y, z);
    list_add_item(&VertexList, temp_vert);
}
object_add_vertices(return_Object, VertexList);
it always brings up the error:
Code:
Exception occured in command load_file_select.
Last Error(not necessarily the problem): The operation completed successfully.
but it works when i use:
Code:
for(loop...)
{
    Vertex *temp_vert = new_vertex_set(x, y, z);
    object_add_vertex(return_Object, temp_vert);
}

im trying to get my code to run faster.
any help?
--Phil
LiveWire is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 09:15 AM.


AC3D Forum
(C) Inivis Limited 2020