[AD] triangle3d_f with | POLYTYPE_ZBUF bug

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hello, I've noticed that if i use:

triangle3d_f(buff, POLYTYPE_GCOL | POLYTYPE_ZBUF, NULL, v[0], v[1], v[2]);

that wont work properly, meanwhile when i switched it to:

polygon3d_f(buff, POLYTYPE_GCOL | POLYTYPE_ZBUF, NULL, 3, v);

(it's supposed to be the same) that works...
i haven't tested the fixed version, but maybe buggy too...

I've included a test program to see what i mean. Right now it's with
polygon3d_f activated, just comment that line and uncomment the triangle3d_f
one and you'll see what i mean

btw, if the mouse patch i sent fixes the mouse speed in windows... why
havent it been commited?

Thanks!

Attachment: triang.cpp
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/