18th June 2005, 04:14 PM | #1 |
Junior Member
Site Admin
Join Date: Jun 2003
Posts: 0
|
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. |
19th June 2005, 01:37 PM | #2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Well spotted!
Andy |
|
|