From 4dfc1de9c92a6607f137dc7f7a1333d155d88eb2 Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Fri, 08 Oct 2010 01:23:16 +0000 Subject: Yet more comma space cleanups. --- (limited to 'helpers.py') diff --git a/helpers.py b/helpers.py index 47dfbe4..b0c5c84 100644 --- a/helpers.py +++ b/helpers.py @@ -27,7 +27,7 @@ def distance(pt1, pt2): return math.sqrt((pt1[0] - pt2[0]) ** 2 + (pt1[1] - pt2[1]) ** 2) # returns the angle between the line segment from pt1 --> pt2 and the x axis, from -pi to pi -def getAngle(pt1,pt2): +def getAngle(pt1, pt2): xcomp = pt2[0] - pt1[0] ycomp = pt1[1] - pt2[1] return math.atan2(ycomp, xcomp) -- cgit v0.9.1