RE: [AD] Bug in clip3d_f() / polygon3d_f()

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


I looked at poly3d.c, and found that it checks at the beginning whether the
points of the polygon go clockwise or anticlockwise. If two vertices are
coincident, this check could come out wrong.

I was wondering, do we really need to ensure that the list of edges goes
clockwise? Couldn't we adapt the main body of the routine to handle both
cases? I'll look into it.

Ben Davis



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