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

@@ -17,7 +17,7 @@ ActorInfo D_80366EF0 = {
/* .code */
void func_802CA790(Actor *this){
func_8033A410(0xff);
modelRender_setAlpha(0xff);
modelRender_setDepthMode(MODEL_RENDER_DEPTH_COMPARE);
}
@@ -52,7 +52,7 @@ Actor *func_802CA7BC(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx){
sp48[1] = this->yaw;
sp48[2] = this->roll;
sp44 = ml_map_f(sp54[1] - sp40, 0.0f, 300.0f, 0.43f, 0.28f);
func_8033A2D4(func_802CA790, this);
modelRender_preDraw(func_802CA790, this);
modelRender_draw(gfx, mtx, this->position, sp48, sp44, NULL, func_80330B1C(marker));
return this;
}