Thanks for the links. Openfl had the simplest implementation. There’s only so many ways you can write the solution to the same math problem… ;-)
For the most part, I used the logic in that code, but I did not use it exactly. I just committed my changes. I improved the Matrix class to make the methods chain-able as well. We should be clear on this now. Thanks, Harbs On Aug 13, 2016, at 1:02 AM, Justin Mclean <jus...@classsoftware.com> wrote: > Hi, > >> I’m rewriting the functions in Matrix (and removing Vector3D as we’re not >> actually using it). > > Why rewrite when you could just use an Apache license compatible version? > i.e. from a recent version of Shumway (rather than the older GPL/MPL > version). [1] It's currently TypeScript but would be easy to convert. > Alternatively if you look in the history you should be able to find where > they changed from ActionScript to TypeScript but just check the license is OK. > > Or perhaps the MIT licensed openfl [2] or Apache licensed Jangaroo libs [3]. > Jangaroo even has a pom file so there would be no need to bundle it if you > wanted to go down that path. > > There quite a few other implementations out there as well, just as long as we > know where it come from all is good. > > Thanks, > Justin > > 1. https://github.com/mozilla/shumway/blob/master/src/flash/geom/Matrix.ts > 2. https://github.com/openfl/openfl/blob/develop/openfl/geom/Matrix.hx > 3. > https://github.com/CoreMedia/jangaroo-libs/blob/master/jooflash/src/main/joo/flash/geom/Matrix.as