Example #1
0
 def test_localize_direction_all(self):
     """Only rotations are performed on directions."""
     v1 = [(A, B, C)]
     pos = (D, 0, 0)
     rot = (0, 0, -90)
     frame = GroupFrame(position=pos, rotation=rot)
     v2 = frame.localize_direction(v1)
     self.assertAllClose((-B, A, C), v2[0])