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

Reply
 
Thread Tools Display Modes
Old 18th June 2005, 04:14 PM   #1
Anonymous
Junior Member
Site Admin
 
Join Date: Jun 2003
Posts: 0
Default ac3d loader offered on website - bug?

hi there.. i noticed for the following function......

void init_surface(ACSurface *s)
{
s->vertref = NULL;
s->uvs = NULL;
s->num_vertref = 0;
s->flags = 0;
s->mat = 0;
s->normal.x = 0.0; s->normal.z = 0.0; s->normal.z = 0.0;
}

the last line, s->normal.z is assigned twice.. is the second statement supposed to be s->normal.y = 0.0 ??

thanks,
paulm.
Anonymous is offline   Reply With Quote
Old 19th June 2005, 01:37 PM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default

Well spotted!

Andy
Andy is offline   Reply With Quote
Reply

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 04:45 AM.


AC3D Forum
(C) Inivis Limited 2020