Просмотр исходного кода

fix in precomputing angular matrixes

Dave Schuyler 21 лет назад
Родитель
Сommit
8d4970524d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      panda/src/physics/baseIntegrator.cxx

+ 2 - 2
panda/src/physics/baseIntegrator.cxx

@@ -132,7 +132,7 @@ precompute_angular_matrices(Physical *physical,
 
 
     NodePath force_np(force_node);
     NodePath force_np(force_node);
     //_precomputed_angular_matrices.push_back(physical_np.get_mat(force_node));
     //_precomputed_angular_matrices.push_back(physical_np.get_mat(force_node));
-    _precomputed_linear_matrices.push_back(force_np.get_mat(global_physical_np));
+    _precomputed_angular_matrices.push_back(force_np.get_mat(global_physical_np));
   }
   }
 
 
   // tally the local xforms
   // tally the local xforms
@@ -155,7 +155,7 @@ precompute_angular_matrices(Physical *physical,
 void BaseIntegrator::
 void BaseIntegrator::
 output(ostream &out) const {
 output(ostream &out) const {
   #ifndef NDEBUG //[
   #ifndef NDEBUG //[
-  out<<"BaseIntegrator";
+  out<<"BaseIntegrator (id "<<this<<")";
   #endif //] NDEBUG
   #endif //] NDEBUG
 }
 }