Exemple #1
0
 def test_vec2_right (self):
     a = CrankBase.VecFloat2.init (0.9950, 0.0998)
     b = CrankShape.rot_vec2_right (a)
     self.assertFloat (b.x, 0.0998)
     self.assertFloat (b.y, -0.9950)