diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2014-02-25 01:37:40 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2014-02-25 01:37:40 (GMT) |
commit | b12be82124077e3174e57dd58554d5f2668c135f (patch) | |
tree | 94f2626c0d9e0bedd18b8483e6fb0d1560fd03b1 /src/api/Vector.py | |
parent | 99bd05e0e232805468b48a59cefbf8186c2380f0 (diff) |
minor changes in sprite
Diffstat (limited to 'src/api/Vector.py')
-rw-r--r-- | src/api/Vector.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/Vector.py b/src/api/Vector.py index ea10dcf..84bdf2e 100644 --- a/src/api/Vector.py +++ b/src/api/Vector.py @@ -34,8 +34,8 @@ class CVector(object): return self.y
def setVec(self, aVec):
- self.x = aVec.x;
- self.y = aVec.y;
+ self.x = aVec.x
+ self.y = aVec.y
# Initialize the vector, giving polar coordinates (angle and magnitude).
def setPolar(self, aAngle, aMag):
@@ -79,8 +79,8 @@ class CVector(object): # Check division by zero.
if (m > self.EPSILON):
- self.x /= m;
- self.y /= m;
+ self.x /= m
+ self.y /= m
# Truncates the vector assuring that the magnitude not exceed the limit.
def truncate(self, aLength):
|