Original Post
How are matrices packed in HLSL? Especially DirectX3D 10.
These do not explain:
http://msdn.microsoft.com/en-us/library/bb509623(v=VS.85).aspx
http://msdn.microsoft.com/en-us/library/bb509632(v=VS.85).aspx
Specifically I need to know if a 3×3 matrix is internally stored as a 4×4 matrix or if it is an array of 9 floats.
Similarly with 2×2 matrices.
Thank you,
Yogurt Emperor
These do not explain:
http://msdn.microsoft.com/en-us/library/bb509623(v=VS.85).aspx
http://msdn.microsoft.com/en-us/library/bb509632(v=VS.85).aspx
Specifically I need to know if a 3×3 matrix is internally stored as a 4×4 matrix or if it is an array of 9 floats.
Similarly with 2×2 matrices.
Thank you,
Yogurt Emperor