Mercurial > hg > digilib-old
comparison client/digitallibrary/jquery/dlGeometry.js @ 655:72acc47f1831 jquery
first try at birdview indicator
| author | hertzhaft |
|---|---|
| date | Fri, 21 Jan 2011 00:33:33 +0100 |
| parents | c2566e470569 |
| children | 436e10669df8 |
comparison
equal
deleted
inserted
replaced
| 653:b21c1a539af3 | 655:72acc47f1831 |
|---|---|
| 253 return position(x, y); | 253 return position(x, y); |
| 254 }; | 254 }; |
| 255 that.getRotation = transform.getRotation; | 255 that.getRotation = transform.getRotation; |
| 256 that.getTranslation = transform.getTranslation; | 256 that.getTranslation = transform.getTranslation; |
| 257 that.getScale = transform.getScale; | 257 that.getScale = transform.getScale; |
| 258 | 258 |
| 259 return that; | 259 return that; |
| 260 }; | 260 }; |
| 261 | 261 |
| 262 transform.getRotation = function (angle, pos) { | 262 transform.getRotation = function (angle, pos) { |
| 263 // returns a Transform that is a rotation by angle degrees around [pos.x, pos.y] | 263 // returns a Transform that is a rotation by angle degrees around [pos.x, pos.y] |
