small fix
This commit is contained in:
parent
d0696fdf88
commit
a1fd239d8f
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ let shork_image = document.getElementById("shork");
|
|||
let zoomies = 4;
|
||||
let turnies = 0.2;
|
||||
|
||||
let shork = {x: 32, y: 36};
|
||||
let shork = {x: 4, y: 8};
|
||||
let rotation = Math.PI/2;
|
||||
let shork_init = transform(shork, -rotation);
|
||||
shork_image.style.transform = `matrix(${shork_init.a}, ${shork_init.b}, ${shork_init.c}, ${shork_init.d}, ${shork_init.x}, ${shork_init.y})`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue