modelRender.c documentation

This commit is contained in:
Banjo Kazooie
2022-12-01 00:21:11 -06:00
parent 0ffe8f35a2
commit b74c76a430
69 changed files with 296 additions and 326 deletions

View File

@@ -113,8 +113,8 @@ Actor *func_803889AC(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx){
sp2C[2] = this->roll;
func_8033A238(func_803356A0(local->unk4, local));
set_model_render_mode(2);
func_803391A4(gfx, mtx, this->position, sp2C, 1.0f, NULL, local->unk8);
modelRender_setDepthMode(MODEL_RENDER_DEPTH_COMPARE);
modelRender_draw(gfx, mtx, this->position, sp2C, 1.0f, NULL, local->unk8);
}
return func_80325888(marker, gfx, mtx, vtx);
}

View File

@@ -26,7 +26,7 @@ void func_8038D9E0(Actor *this) {
if (!this->unk16C_4) {
this->unk16C_4 = TRUE;
this->unk124_9 = 2;
this->depth_mode = 2;
this->marker->unk40_22 = TRUE;
func_8038D960(this, 1);
}