HydrolienF/Formiko

New rotateAndCenterImage fct don't work for whidth!=heigth images

Closed this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.
cf 6255ffe

To Reproduce
Steps to reproduce the behavior:

  1. uncomment code
  2. launch a game
  3. watch the ant.

Expected behavior
fix lenJ & lenI inversion in trimTransparentBorder & use it.

It save 10 ms (30%) for every refresh at launch of a game !