Elektrine lite

← Feed

@Maraneshi@mastodon.gamedev.place

Post #4051060

2026-05-05 20:43 UTC

@zeux@mastodon.gamedev.place @aras@mastodon.gamedev.place I load my row major column vector matrices into another math library that uses row major row vector matrices by reinterpreting the bytes directly, do some operations, then store them into a buffer that goes into HLSL, which again reinterprets those bytes as column major row vector matrices and then I use the mul(vector, matrix) ordering that according to documentation treats the vector as a row vector. I didn't write this code, but It works and I leave it alone for job security (/j).

Replies (1)

  • @aras@mastodon.gamedev.place 2026-05-06 03:37

    @Maraneshi@mastodon.gamedev.place @zeux@mastodon.gamedev.place ah right, an even number of column vs row major matrix mis-understandings is a classic indeed

    Open ##4051061