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

@@ -97,15 +97,15 @@ Actor *chBeeSwarm_draw(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx){
sp8C[1] = this->position[1] + phi_s0->unk0[1];
sp8C[2] = this->position[2] + phi_s0->unk0[2];
set_model_render_mode(2);
modelRender_setDepthMode(MODEL_RENDER_DEPTH_COMPARE);
func_8033A410(0xFF);
func_803391A4(gfx, mtx, sp8C, sp80, 0.25f, NULL, phi_fp);
modelRender_draw(gfx, mtx, sp8C, sp80, 0.25f, NULL, phi_fp);
local->unk5 |= func_8033A170();
if(phi_s2 < 10){
sp8C[1] = local->unk18 + 6.0f;
func_8033A410(0xC0);
set_model_render_mode(2);
func_803391A4(gfx, mtx, sp8C, sp80, 0.1f, NULL, local->unk20);
modelRender_setDepthMode(MODEL_RENDER_DEPTH_COMPARE);
modelRender_draw(gfx, mtx, sp8C, sp80, 0.1f, NULL, local->unk20);
local->unk5 |= func_8033A170();
}
phi_s0++;