core2/playerModel.c documentation

This commit is contained in:
Banjo Kazooie
2022-12-01 17:41:20 -06:00
parent aa33833595
commit 342011dd23
50 changed files with 560 additions and 545 deletions

View File

@@ -24,7 +24,7 @@ u8 pad_D_80282850[0x780];
Mtx * D_80282FD0;
/*.code*/
void func_802513B0(f32 *arg0) {
void mlMtxGet(f32 *arg0) {
s32 var_v0, j;
for(var_v0 = 0; var_v0 < 4; var_v0++){
@@ -388,14 +388,14 @@ void func_80252AF0(f32 arg0[3], f32 arg1[3], f32 rotation[3], f32 scale, f32 arg
}
void func_80252C08(f32 arg0[3], f32 arg1[3], f32 scale, f32 arg3[3]){
void func_80252C08(f32 arg0[3], f32 rotation[3], f32 scale, f32 arg3[3]){
if(arg0 != NULL)
mlMtxTranslate(arg0[0], arg0[1], arg0[2]);
if(arg1 != NULL){
mlMtxRotYaw(arg1[1]);
mlMtxRotPitch(arg1[0]);
mlMtxRotRoll(arg1[2]);
if(rotation != NULL){
mlMtxRotYaw(rotation[1]);
mlMtxRotPitch(rotation[0]);
mlMtxRotRoll(rotation[2]);
}
if(scale != 1.0f){

View File

@@ -167,7 +167,7 @@ void func_8024CCC4(void){
mlMtxIdent();
mlMtxRotYaw(-60.0f);
mlMtxRotPitch(-90.0f);
func_802513B0(&D_80280FD8);
mlMtxGet(&D_80280FD8);
}
void func_8024CD7C(int arg0){
@@ -247,7 +247,7 @@ void func_8024CFD4(void){
mlMtxIdent();
mlMtxRotYaw(D_80280EC0[1]);
mlMtxRotPitch(D_80280EC0[0]);
func_802513B0(&D_80280F98);
mlMtxGet(&D_80280F98);
D_80280EA0[0] = 0.0f;
D_80280EA0[1] = 0.0f;
D_80280EA0[2] = -1.0f;