Created BulletActor. BaseActor inherits from Sprite. Animation is a generator now.
This commit is contained in:
6
math_utils.py
Normal file
6
math_utils.py
Normal file
@@ -0,0 +1,6 @@
|
||||
###########################################
|
||||
# Created on 1-9-2013. Miguel Angel Astor #
|
||||
###########################################
|
||||
|
||||
def angle_to_vector(angle):
|
||||
return [math.cos(angle), math.sin(angle)]
|
Reference in New Issue
Block a user