jweather / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

Matrix3x2 TransformPoint error #884

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
r.X = (point.X * mat.M11) + (point.Y * mat.M21) + mat.M31;
r.Y = (point.Y * mat.M12) + (point.Y * mat.M22) + mat.M32;

in the second line, there are only Y coordinate from point. Mistake? should be 
r.Y = (point.X * mat.M12) + (point.Y * mat.M22) + mat.M32;

Original issue reported on code.google.com by Sereg...@gmail.com on 6 Sep 2012 at 8:39

GoogleCodeExporter commented 9 years ago
Yes, looks like a typo.

Original comment by Mike.Popoloski on 10 Sep 2012 at 2:13

GoogleCodeExporter commented 9 years ago
Looks like this was already fixed back in issue 786. It should be available 
from SVN, or from the next binary release, which we're planning on doing soon.

Original comment by Mike.Popoloski on 15 Sep 2012 at 6:42