# | Line 159 | Line 159 | void RigidBody::calcRefCoords() { | |
---|---|---|
159 | ||
160 | //diagonalize | |
161 | Vector3d evals; | |
162 | < | Mat3x3d::diagonalize(Itmp, evals, sU_) |
162 | > | Mat3x3d::diagonalize(Itmp, evals, sU_); |
163 | ||
164 | // zero out I and then fill the diagonals with the moments of inertia: | |
165 | inertiaTensor_(0, 0) = evals[0]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |