weimingtom / nekonme

Automatically exported from code.google.com/p/nekonme
0 stars 0 forks source link

Patch for /trunk/jeash/geom/Matrix.hx #233

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in mult(m) function, if m is on the right - as follows from expressions for 
a...d - then expressions for tx/ty are wrong. same applies to concat() - but 
see that one for yourself.

Original issue reported on code.google.com by makc.the...@gmail.com on 14 May 2012 at 4:55

GoogleCodeExporter commented 8 years ago
Now when I actually went on to test this, I'm not so sure about this patch :S 
matrix*matrix^-1 and matrix^-1*matrix does work with your version. however, 
matrix^-1 .transformPoint(p) and matrix^-1 * p are nor longer the same o_O am I 
going insane here, or wtf?? 

Original comment by makc.the...@gmail.com on 15 May 2012 at 2:09

GoogleCodeExporter commented 8 years ago
yes, I am, everyhitng works with your version, discard the patch. wtf.

Original comment by makc.the...@gmail.com on 15 May 2012 at 2:17

GoogleCodeExporter commented 8 years ago
found the source of my confusion,

I thought the matrix is

a b tx
c d ty

when it's

a c tx
b d ty

:)

Original comment by makc.the...@gmail.com on 15 May 2012 at 3:05

GoogleCodeExporter commented 8 years ago
:)

Original comment by joshuagr...@gmail.com on 4 Jun 2012 at 9:21