Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed transformation #1

Merged
merged 1 commit into from

2 participants

@mbrenn

No description provided.

@martensms martensms referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@martensms martensms merged commit b4c4690 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 2, 2012
  1. @mbrenn
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lychee/data/object.js
View
2  lychee/data/object.js
@@ -106,7 +106,7 @@ ly.object.prototype = {
// This is kinda false... but havent figured out why.
x: point.x * Math.cos(tx) + point.y * Math.sin(tx),
- y: point.x * Math.sin(tx) + point.y * Math.cos(tx)
+ y: - point.x * Math.sin(tx) + point.y * Math.cos(tx)
// var Xx = Math.cos(angle) * this.w, Xy = Math.sin(angle) * this.w,
// Yx = -Math.sin(angle) * this.h, Yy = Math.cos(angle) * this.h;
Something went wrong with that request. Please try again.