|[AD] div-by-zero... get_vector_rotation_quat()|
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
get_vector_rotation_quat() from /allegro419/src/quat.c has ASSERT(l != 0); and a /* C comment */ in the file about possible problems when passing data=0.0 doesn't ASSERT only work during the debug runtime ? what happens in a release build at runtime ?if no code changes come of this, can the documentation say something about passing 0.0 and the potential for crash.
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|