Fix lights -- Eeeee. :)
authorSimon Cross <hodgestar@gmail.com>
Thu, 8 Sep 2016 22:32:09 +0000 (00:32 +0200)
committerSimon Cross <hodgestar@gmail.com>
Thu, 8 Sep 2016 22:32:09 +0000 (00:32 +0200)
tabakrolletjie/rays.py

index f4c5ed16fcc69f1500aab6f6be3e0eeadb77e2a6..32ae1a749bbb86c539e8c46e95709eb0292bd0d0 100644 (file)
@@ -135,9 +135,9 @@ class RayPoly(object):
             return trial  # no limits
 
         start_info = trial.segment_query(
-            self.position + 0.1 * start, self.position + 1250 * start, 0)
+            self.position + 1250 * start, self.position + 0.1 * start, 0)
         end_info = trial.segment_query(
-            self.position + 0.1 * end, self.position + 1250 * end, 0)
+            self.position + 1250 * end, self.position + 0.1 * end, 0)
 
         vertices = self.vertices[:]
         vertices = [