modelRender.c documentation
This commit is contained in:
@@ -79,10 +79,10 @@ Actor *func_8038A224(ActorMarker *marker, Gfx **gdl, Mtx **mptr, s32 arg3){
|
||||
|
||||
func_8033A2D4(func_803253A0, actor);
|
||||
if(local->unk4){
|
||||
func_803391A4(gdl, mptr, &actor->position, NULL, 1.0f, NULL, local->unk4);
|
||||
modelRender_draw(gdl, mptr, &actor->position, NULL, 1.0f, NULL, local->unk4);
|
||||
}
|
||||
else{
|
||||
func_803391A4(gdl, mptr, &actor->position, NULL, 1.0f, NULL, func_80330B1C(marker));
|
||||
modelRender_draw(gdl, mptr, &actor->position, NULL, 1.0f, NULL, func_80330B1C(marker));
|
||||
}
|
||||
return actor;
|
||||
}
|
||||
|
@@ -119,7 +119,7 @@ Actor *func_8038AD9C(ActorMarker *marker, Gfx **gdl, Mtx **mptr, s32 arg3){
|
||||
(local->unk4->unk4[1] - actor->position_y)/30.0,
|
||||
func_8033A148(temp_v0)
|
||||
);
|
||||
func_8033A4C0(local->unkC);
|
||||
modelRender_setVertexList(local->unkC);
|
||||
}
|
||||
return func_80325888(marker, gdl, mptr, arg3);
|
||||
}
|
||||
|
@@ -113,7 +113,7 @@ Actor *func_8038B230(ActorMarker *marker, Gfx** gdl, Mtx** mptr, s32 arg3){
|
||||
sp3C[2] = actor->roll;
|
||||
func_8033A2D4(&func_803253A0, actor);
|
||||
func_8033A450(func_80329934());
|
||||
func_803391A4(gdl, mptr, &actor->position, &sp3C, actor->scale, NULL, func_80330B1C(marker));
|
||||
modelRender_draw(gdl, mptr, &actor->position, &sp3C, actor->scale, NULL, func_80330B1C(marker));
|
||||
func_8034A174(func_80329934(), 5, &local->unk4);
|
||||
local->unk4[0] -= 60.0f;
|
||||
return actor;
|
||||
|
@@ -467,7 +467,7 @@ Actor *func_8038D638(ActorMarker *marker, Gfx **gdl, Mtx ** mptr, s32 arg3){
|
||||
}
|
||||
func_8033A2D4(func_803253A0, actor);
|
||||
func_8033A2E8(func_80325794, marker);
|
||||
func_803391A4(gdl, mptr, &actor->position, &sp3C, actor->scale, NULL, func_80330B1C(marker));
|
||||
modelRender_draw(gdl, mptr, &actor->position, &sp3C, actor->scale, NULL, func_80330B1C(marker));
|
||||
|
||||
return actor;
|
||||
}
|
||||
|
@@ -138,7 +138,7 @@ void func_80386A7C(Actor *this){
|
||||
s32 temp_v0;
|
||||
|
||||
func_802D3D74(this);
|
||||
this->unk124_9 = 1;
|
||||
this->depth_mode = 1;
|
||||
func_8024C5CC(&sp2C);
|
||||
sp28 = func_80386A30(&this->position);
|
||||
temp_v0 = func_80386A30(&sp2C);
|
||||
|
Reference in New Issue
Block a user