RE: [AD] Assert in quat.c

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


> I havent checked other files yet, but I see that in all the quat.c
> functions where an AL_CONST QUAT * or just QUAT * is passed, 
> there is no
> ASSERT(q) for the pointer much like in other functions where 
> a BITMAP *
> is passed. Is it ok to go through all the functions and add the ASSERT
> line to them?

If it doesn't make sense for the QUAT* to be NULL, then by all
means yes. Only a few people have actually made some ASSERT run,
and only very recently. It's likely there are many more missing.

-- 
Vincent Penquerc'h 




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