Skip to content

Commit

Permalink
ticket #8 : fixed default angle value when creating sprite objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
obiot committed Mar 22, 2013
1 parent a76a39b commit 3b06386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entity/texturepacker.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

// check if we need rotation
if (tex.rotated===true) {
sprite.angle = - Math.PI;
sprite.angle = - (Math.PI/2);
// >> sprite pos not correct when rotated ? <<
}
// return our object
Expand Down

0 comments on commit 3b06386

Please sign in to comment.