I have create a function which allows me to display an image on which is made a rotation, from an angle passed in parameter. But I have a problem, the angle of rotation is not although taken into account, but the angle value received by the function is correct.
Hi,
I have create a function which allows me to display an image on which is made a rotation, from an angle passed in parameter. But I have a problem, the angle of rotation is not although taken into account, but the angle value received by the function is correct.
If i add a setLayer function between addLayer() and drawLayers(), like this, i work.
Why?
It also works if I force the value of the variable _angle in my function and without using setLayer().
Thanks.