copy rotation behavior from js version

This commit is contained in:
Konstantin Käfer
2014-01-09 11:04:56 +01:00
parent a7205b339e
commit 16d0c83df2
6 changed files with 55 additions and 16 deletions

View File

@@ -52,8 +52,8 @@ void map::scaleBy(double ds, double cx, double cy) {
platform->restart();
}
void map::rotateBy(double cx, double cy, double dx, double dy) {
transform->rotateBy(cx, cy, dx, dy);
void map::rotateBy(double cx, double cy, double sx, double sy, double ex, double ey) {
transform->rotateBy(cx, cy, sx, sy, ex, ey);
platform->restart();
}