projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4634f
)
Check correct distance
author
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 12:38:29 +0000
(14:38 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 12:38:29 +0000
(14:38 +0200)
tabakrolletjie/rays.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/rays.py
b/tabakrolletjie/rays.py
index 11bfd33fd259e42fc397bbe0e63b3862860150e1..8a79c34c57b4c3ff89a7d31681c1c5ec0915f385 100644
(file)
--- a/
tabakrolletjie/rays.py
+++ b/
tabakrolletjie/rays.py
@@
-130,7
+130,7
@@
class RayPolyManager(object):
self._min_radius = value or 0.0
def reaches(self, position):
- distance = self.position.get_distance(
self.
position)
+ distance = self.position.get_distance(position)
return (self._min_radius <= distance <= self._max_radius)
def _set_radius_limits(self, radius_limits):