Matrix components are constructed and consumed in column-major order.https://developer.apple.com/library/ios/documentation/Metal/Reference/MetalShadingLanguageGuide/data-types/data-types.htmlThe reason that the results are not consistent with your expectations is that you are not constructing your matrix in column major order. Here's the matrix you're making:0 | 4 | 8 | 121 | 5 | 9 | 132 | 6 | 10 | 143 | 7 | 11 | 15
Topic:
Graphics & Games
SubTopic:
General
Tags: