Closed GoogleCodeExporter closed 9 years ago
You're getting some padding in there from the HLSL compiler. If you add an
additional two float fields to your Float2x2 type, you'll see the other two
values show up. They appear to be out of order because the HLSL compiler is
storing the matrix in column-major format.
There might be a way to specify that you don't want any padding, but I'm not
sure how to do it.
Original comment by Mike.Popoloski
on 27 Feb 2011 at 2:39
Tnks a lot for your answer. Meanwhile I've reach the same conclusion. In
attachment is my methods to set/get Matrix's in DX10/11.
Original comment by ivo.lei...@gmail.com
on 27 Feb 2011 at 1:06
Attachments:
Ok then, closing this issue.
Original comment by Mike.Popoloski
on 27 Feb 2011 at 6:56
Original issue reported on code.google.com by
ivo.lei...@gmail.com
on 21 Feb 2011 at 12:48Attachments: