Skip to content

Commit

Permalink
remove flip from demo
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed Jan 26, 2016
1 parent d8a830c commit 73183bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/render-webgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,8 @@ function mat3x3Transform(m, v, out) {
function mat3x3ApplySpace(m, space) {
if (space) {
mat3x3Translate(m, space.position.x, space.position.y);
mat3x3Rotate(m, space.rotation.rad * space.flip.x * space.flip.y);
mat3x3Scale(m, space.scale.x * space.flip.x, space.scale.y * space.flip.y);
mat3x3Rotate(m, space.rotation.rad);
mat3x3Scale(m, space.scale.x, space.scale.y);
}
return m;
}
Expand Down

0 comments on commit 73183bf

Please sign in to comment.