Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cgiffard/Perspex
Browse files Browse the repository at this point in the history
  • Loading branch information
cgiffard committed Apr 23, 2012
2 parents 57f98cb + a1e4e6c commit 44ffd9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions perspex.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
var radConvert = (Math.PI / 180),
angleX = this.Θx * radConvert,
angleY = this.Θy * radConvert,
angleZ = this.Θz * radConvert
x = this.cX - (this.eX/2),
y = this.cY + (this.eY/2),
angleZ = this.Θz * radConvert,
x = this.cX + this.eX,
y = this.cY + this.eY,
z = this.cZ;

y = y * Math.cos(angleX) - z * Math.sin(angleX);
Expand Down

0 comments on commit 44ffd9a

Please sign in to comment.