Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/api/Math.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/Math.py')
-rwxr-xr-xsrc/api/Math.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/Math.py b/src/api/Math.py
index e8b4845..7ac64a8 100755
--- a/src/api/Math.py
+++ b/src/api/Math.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
-# -*- coding: cp1252 -*-
+# -*- coding: utf-8 -*-
+#cp1252
import math
@@ -44,4 +45,4 @@ def degToRad(aAngle):
def dist(ax1, ay1, ax2, ay2):
- return math.sqrt((ax2-ax1)**2 + (ay2-ay1)**2) \ No newline at end of file
+ return math.sqrt((ax2-ax1)**2 + (ay2-ay1)**2)