Ver Fonte

Fixed copy&past error in Bullet spherical constraint (detected by consultit).

enn0x há 12 anos atrás
pai
commit
830fbcde1f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      panda/src/bullet/bulletSphericalConstraint.cxx

+ 1 - 1
panda/src/bullet/bulletSphericalConstraint.cxx

@@ -84,7 +84,7 @@ void BulletSphericalConstraint::
 set_pivot_b(const LPoint3 &pivot_b) {
 
   nassertv(!pivot_b.is_nan());
-  _constraint->setPivotA(LVecBase3_to_btVector3(pivot_b));
+  _constraint->setPivotB(LVecBase3_to_btVector3(pivot_b));
 }
 
 ////////////////////////////////////////////////////////////////////