Example #1
0
 def test_getInvInertiaDiagLocal(self):
     """
     L{RigidBody.getInvInertiaDiagLocal} returns the inverse of the local
     inertia vector.
     """
     body = RigidBody()
     inertia = body.getInvInertiaDiagLocal()
     self.assertTrue(isinstance(inertia, Vector3))
Example #2
0
 def test_getInvInertiaDiagLocal(self):
     """
     L{RigidBody.getInvInertiaDiagLocal} returns the inverse of the local
     inertia vector.
     """
     body = RigidBody()
     inertia = body.getInvInertiaDiagLocal()
     self.assertTrue(isinstance(inertia, Vector3))