Inline asm matrix functions (mat_trans_single3 etc.)

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
kazade
Insane DCEmu
Insane DCEmu
Posts: 145
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Tue May 02, 2017 3:11 pm
Has thanked: 3 times
Been thanked: 34 times

Inline asm matrix functions (mat_trans_single3 etc.)

Post by kazade »

My game engine uses a one-dimensional array to store matrices (e.g. float m[16] or float m[9]). I was just looking at leveraging the matrix functions that ship with KOS to improve performance and I noted that matrix_t is a two-dimensional array.

I'm wondering if I'm still able to use the matrix functions (by casting to matrix_t*) or will this cause incorrect results?
Post Reply