mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix in precomputing angular matrixes
This commit is contained in:
parent
79ae46385a
commit
8d4970524d
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user