projects
/
tanks-ios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e8f9f08
)
Fixes rotation issues.
author
dsc
<david.schoonover@gmail.com>
Thu, 23 Jun 2011 21:59:13 +0000 (14:59 -0700)
committer
dsc
<david.schoonover@gmail.com>
Thu, 23 Jun 2011 21:59:13 +0000 (14:59 -0700)
src/game/unit/QQActor.mm
patch
|
blob
|
history
diff --git
a/src/game/unit/QQActor.mm
b/src/game/unit/QQActor.mm
index
e05f2c3
..
569c0e9
100644
(file)
--- a/
src/game/unit/QQActor.mm
+++ b/
src/game/unit/QQActor.mm
@@
-104,7
+104,7
@@
}
- (void) updateShapeX:(float)x y:(float)y rotation:(float)r {
[self updateShapeX:x y:y];
- self.shape.rotation = r;
+ self.shape.rotation = -1 * CC_RADIANS_TO_DEGREES(r);
}
- (void) updateShape {
b2Transform trans = self.body->GetTransform();