Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/api/Vector.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/Vector.py')
-rw-r--r--src/api/Vector.py8
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):