projects
/
python-bulletml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get my coordinate systems straight - 0,0 will be upper-left.
[python-bulletml.git]
/
bulletml
/
impl.py
diff --git
a/bulletml/impl.py
b/bulletml/impl.py
index
2c938d2
..
6fe1641
100644
(file)
--- a/
bulletml/impl.py
+++ b/
bulletml/impl.py
@@
-256,7
+256,7
@@
class Bullet(object):
return self.direction
else:
return math.degrees(
- math.atan2(self.target.x - self.x, self.
target.y - self
.y))
+ math.atan2(self.target.x - self.x, self.
y - self.target
.y))
@property
def finished(self):