be even less fussy about paranoid checking

This commit is contained in:
David Rose 2002-06-21 00:02:33 +00:00
parent 8eca8f38a7
commit 86c1f62b77

View File

@ -709,7 +709,7 @@ do_compose(const TransformState *other) const {
if (paranoid_compose) {
// Now verify against the matrix.
LMatrix4f new_mat = other->get_mat() * get_mat();
if (!new_mat.almost_equal(result->get_mat(), 0.001)) {
if (!new_mat.almost_equal(result->get_mat(), 0.05)) {
CPT(TransformState) correct = make_mat(new_mat);
pgraph_cat.warning()
<< "Componentwise composition of " << *this << " and " << *other
@ -778,7 +778,7 @@ do_invert_compose(const TransformState *other) const {
} else {
nassertr(_inv_mat != (LMatrix4f *)NULL, make_invalid());
LMatrix4f new_mat = other->get_mat() * (*_inv_mat);
if (!new_mat.almost_equal(result->get_mat(), 0.001)) {
if (!new_mat.almost_equal(result->get_mat(), 0.05)) {
CPT(TransformState) correct = make_mat(new_mat);
pgraph_cat.warning()
<< "Componentwise invert-composition of " << *this << " and " << *other