diff options
author | Made <made111@gmx.de> | 2020-05-04 15:57:14 +0200 |
---|---|---|
committer | Made <made111@gmx.de> | 2020-05-04 15:57:14 +0200 |
commit | 8cd2ae6b66d4e2b2d5dbbf4e54f5a21cb21d7ebf (patch) | |
tree | cc4346907085f2aac85f8026b615ab2fa2b132e1 /include | |
parent | 34dbccce4c71ba80c52cae8f1254c25d950f50c4 (diff) |
Decompile FX_mtx43.s
Diffstat (limited to 'include')
-rw-r--r-- | include/fx.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/fx.h b/include/fx.h index 1e9eb291..ee436883 100644 --- a/include/fx.h +++ b/include/fx.h @@ -73,6 +73,7 @@ struct Vecx16 s16 z; }; +//Matrices are indexed as [column][row] struct Mtx44 { s32 _[16]; @@ -138,5 +139,16 @@ void MTX_RotX44_(struct Mtx44 *mtx, s32 sinphi, s32 cosphi); void MTX_RotY44_(struct Mtx44 *mtx, s32 sinphi, s32 cosphi); void MTX_RotZ44_(struct Mtx44 *mtx, s32 sinphi, s32 cosphi); +//Mtx43 +void MTX_ScaleApply33(struct Mtx33 *mtx, struct Mtx33 *dst, s32 x, s32 y, s32 z); +s32 MTX_Inverse43(struct Mtx43 *mtx, struct Mtx43 *inv); +void MTX_Concat43(struct Mtx43 *a, struct Mtx43 *b, struct Mtx43 *c); +void MTX_MultVec43(struct Vecx32 *vec, struct Mtx43 *mtx, struct Vecx32 *dst); +void MTX_Identity43_(struct Mtx43 *mtx); +void MTX_Copy43To44_(struct Mtx43 *src, struct Mtx44 *dst); +void MTX_Scale43_(struct Mtx43 *dst, s32 x, s32 y, s32 z); +void MTX_RotX43_(struct Mtx43 *mtx, s32 sinphi, s32 cosphi); +void MTX_RotY43_(struct Mtx43 *mtx, s32 sinphi, s32 cosphi); + #endif //GUARD_FX_H |