claus / as3swf

Low level Actionscript 3 library to parse, create, modify and publish SWF files.
MIT License
526 stars 127 forks source link

[Bug] Matrix rotation format needs to be in radians #26

Open mrmalee opened 11 years ago

mrmalee commented 11 years ago

When generating a matrix from Matrix.createBox the rotation value needs to be in radians

in SWFShape line 408: matrix.createBox(m.xscale / 20, m.yscale / 20, m.rotation, m.translateX / 20, m.translateY / 20);

the value is defined in degree's

makc commented 11 years ago

dumb github won't let me watch the thread unless I participate (