Also funny sidenote:

I spent an entire day just figuring out why my cube model was facing the wrong way.

Wrote a bunch of unit tests for the matrix maths, and everything was perfectly fine.

Turns out I forgot to use "clear rotation" in Blender before exporting. The model itself was not rotated correctly. :blobfox3c:

At least now I have some unit tests, so that's good.