mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
fixed mistype
This commit is contained in:
parent
977fc1c38a
commit
533a7976f7
@ -75,7 +75,7 @@ get_child_vector(const PhysicsObject* po) {
|
||||
physics_debug(" v "<<v<<" len "<<v.length()
|
||||
<<" friction "<<friction<<" len "<<friction.length()
|
||||
<<" dot "<<(normalize(v).dot(normalize(friction))));
|
||||
assert(friction.almostEqual(LVector3f::zero())
|
||||
assert(friction.almost_equal(LVector3f::zero())
|
||||
|| IS_NEARLY_EQUAL(normalize(v).dot(normalize(friction)), -1.0f));
|
||||
// cary said to cap this at zero so that friction can't reverse
|
||||
// your direction, but it seems to me that if you're computing:
|
||||
|
Loading…
x
Reference in New Issue
Block a user