core2/modelRender.c documentation

This commit is contained in:
Banjo Kazooie
2022-12-01 13:27:28 -06:00
parent b74c76a430
commit aa33833595
43 changed files with 385 additions and 356 deletions

View File

@@ -69,10 +69,10 @@ Actor *chMotzhand_draw(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx){
func_8033A238(func_803356A0(this->unk148));
if(this->state == 4){
func_8033A410((s32) (local->alpha * 255.0f));
modelRender_setAlpha((s32) (local->alpha * 255.0f));
}
else{
func_8033A410((s32) 255);
modelRender_setAlpha((s32) 255);
}
sp3C[0] = sp3C[1] = sp3C[2] = 0.0f;

View File

@@ -84,10 +84,10 @@ Actor *chnapper_draw(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx){
}
if(this->state == 1){ //set model alpha
func_8033A410(0x80);
modelRender_setAlpha(0x80);
}
else{
func_8033A410(0xdc);
modelRender_setAlpha(0xdc);
}
return func_80325888(marker, gfx, mtx, vtx);