File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ - (CCActionInterval*) actionFromKeyframe0:(CCBKeyframe*)kf0 andKeyframe1:(CCBKey
147
147
{
148
148
return [CCBRotateTo actionWithDuration: duration angle: [kf1.value floatValue ]];
149
149
}
150
- else if ([name isEqualToString: @" rotationX " ])
150
+ else if ([name isEqualToString: @" rotationalSkewX " ])
151
151
{
152
152
return [CCBRotateXTo actionWithDuration: duration angle: [kf1.value floatValue ]];
153
153
}
154
- else if ([name isEqualToString: @" rotationY " ])
154
+ else if ([name isEqualToString: @" rotationalSkewY " ])
155
155
{
156
156
return [CCBRotateYTo actionWithDuration: duration angle: [kf1.value floatValue ]];
157
157
}
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ -(float) rotation
236
236
if (body){
237
237
return -CC_RADIANS_TO_DEGREES (body.absoluteRadians ) + NodeToPhysicsRotation (self.parent );
238
238
} else {
239
- NSAssert ( _rotationalSkewX == _rotationalSkewY, @" CCNode#rotation. RotationX != RotationY . Don't know which one to return" );
239
+ NSAssert ( _rotationalSkewX == _rotationalSkewY, @" CCNode#rotation. rotationalSkewX != rotationalSkewY . Don't know which one to return" );
240
240
return _rotationalSkewX;
241
241
}
242
242
}
You can’t perform that action at this time.
0 commit comments