mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 19:35:28 +00:00
[headers] gfx_setupdl.h and z64skin_matrix.h (#2221)
* [headers] gfx_setupdl.h and z64skin_matrix.h * include z64skin_matrix.h * bss * bss
This commit is contained in:
parent
dc1501e7a0
commit
a09ea76025
10 changed files with 155 additions and 130 deletions
25
include/z64skin_matrix.h
Normal file
25
include/z64skin_matrix.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef Z64SKIN_MATRIX_H
|
||||
#define Z64SKIN_MATRIX_H
|
||||
|
||||
#include "ultra64.h"
|
||||
#include "z64math.h"
|
||||
|
||||
struct GraphicsContext;
|
||||
|
||||
void SkinMatrix_Vec3fMtxFMultXYZW(MtxF* mf, Vec3f* src, Vec3f* xyzDest, f32* wDest);
|
||||
void SkinMatrix_Vec3fMtxFMultXYZ(MtxF* mf, Vec3f* src, Vec3f* dest);
|
||||
void SkinMatrix_MtxFMtxFMult(MtxF* mfA, MtxF* mfB, MtxF* dest);
|
||||
void SkinMatrix_GetClear(MtxF** mfp);
|
||||
void SkinMatrix_MtxFCopy(MtxF* src, MtxF* dest);
|
||||
s32 SkinMatrix_Invert(MtxF* src, MtxF* dest);
|
||||
void SkinMatrix_SetScale(MtxF* mf, f32 x, f32 y, f32 z);
|
||||
void SkinMatrix_SetRotateZYX(MtxF* mf, s16 x, s16 y, s16 z);
|
||||
void SkinMatrix_SetTranslate(MtxF* mf, f32 x, f32 y, f32 z);
|
||||
void SkinMatrix_SetTranslateRotateYXZScale(MtxF* dest, f32 scaleX, f32 scaleY, f32 scaleZ, s16 rotX, s16 rotY, s16 rotZ,
|
||||
f32 translateX, f32 translateY, f32 translateZ);
|
||||
void SkinMatrix_SetTranslateRotateZYX(MtxF* dest, s16 rotX, s16 rotY, s16 rotZ, f32 translateX, f32 translateY,
|
||||
f32 translateZ);
|
||||
Mtx* SkinMatrix_MtxFToNewMtx(struct GraphicsContext* gfxCtx, MtxF* src);
|
||||
void SkinMatrix_SetRotateAxis(MtxF* mf, s16 angle, f32 axisX, f32 axisY, f32 axisZ);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue