C
C#2mo ago
Iain

Are Matrix4x4 multiplications pre or post multiplied?

New to this server so apologies if this isn't the right place to post general questions (if not, where is?) Matrix4x4: Do these pre or post multiply? If I'm doing a classic Projection, View, Model setup, am I creating the union of this by doing P * V * M or M * V * P I suspect it's the later, because are Matrix4x4's in c# basically transposed? My maths memory (and this was a long time ago) makes me feel it should be PVM but I think its MVP...but I can't really find clarity in the docs to double check?
3 Replies
TheRanger
TheRanger2mo ago
Matrix4x4 as in the one in System.Numerics? or are you using OpenTK, Silk.NET ?
Iain
Iain5w ago
System Numerics, but got my answer in the main chat from @Tanner Gooding 👍 MVP is the order
TheRanger
TheRanger5w ago
Yeah pretty much, i was just working on matrix4 in the past few weeks lol