| 100 | } |
| 101 | |
| 102 | void Rigid::updateInertialTensor() |
| 103 | { |
| 104 | MatrixF iv,qmat; |
| 105 | angPosition.setMatrix(&qmat); |
| 106 | iv.mul(qmat,invObjectInertia); |
| 107 | qmat.transpose(); |
| 108 | invWorldInertia.mul(iv,qmat); |
| 109 | } |
| 110 | |
| 111 | void Rigid::updateCenterOfMass() |
| 112 | { |
no test coverage detected