reduce sensitivity to paranoid complaints

This commit is contained in:
David Rose 2002-06-20 23:22:30 +00:00
parent c00fef16ee
commit eaab3cbb4b

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.0001)) {
if (!new_mat.almost_equal(result->get_mat(), 0.001)) {
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.0001)) {
if (!new_mat.almost_equal(result->get_mat(), 0.001)) {
CPT(TransformState) correct = make_mat(new_mat);
pgraph_cat.warning()
<< "Componentwise invert-composition of " << *this << " and " << *other