misc documentation
This commit is contained in:
@@ -146,7 +146,7 @@ void func_8035C080(Actor *this, s32 next_state){
|
||||
}
|
||||
}
|
||||
else if(next_state == 3){//L8035C4C0
|
||||
if(ml_vec3f_distance(local->unk28, this->position) < 10.0f){
|
||||
if(ml_distance_vec3f(local->unk28, this->position) < 10.0f){
|
||||
func_8035C080(this, 1);
|
||||
return;
|
||||
}
|
||||
@@ -237,7 +237,7 @@ Actor* func_8035C71C(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx **vtx){
|
||||
if(local->pCtrl_8 && this->marker->unk14_21){
|
||||
func_8034A174(func_80329934(), 5, sp28);
|
||||
particleEmitter_setPosition(local->pCtrl_8, sp28);
|
||||
func_802EF3A8(local->pCtrl_8, gfx, mtx, vtx);
|
||||
particleEmitter_draw(local->pCtrl_8, gfx, mtx, vtx);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -246,7 +246,7 @@ void func_8035C8C8(Actor *this){
|
||||
ActorLocal_Core2_D50F0 *local = (ActorLocal_Core2_D50F0 *)&this->local;
|
||||
|
||||
if(local->pCtrl_8)
|
||||
func_802EF684(local->pCtrl_8);
|
||||
particleEmitter_free(local->pCtrl_8);
|
||||
}
|
||||
|
||||
void func_8035C8F4(Actor *this){
|
||||
@@ -293,11 +293,11 @@ void func_8035C8F4(Actor *this){
|
||||
local->unk0 += 1.9047619047619049*sp34;
|
||||
if(1.0f <= local->unk0)
|
||||
local->unk0 = 1.0f;
|
||||
func_80255FE4(this->position, local->unk10, local->unk1C, local->unk0);
|
||||
ml_interpolate_vec3f(this->position, local->unk10, local->unk1C, local->unk0);
|
||||
this->position_y += 100.0f*sinf(local->unk0*3.141592654);
|
||||
this->yaw = local->unk0*(local->unk34[2] - local->unk34[1]) + local->unk34[1];
|
||||
if(func_80335794(this->unk148) > 0){
|
||||
if(ml_vec3f_distance(this->position, local->unk28) < 10.0f){
|
||||
if(ml_distance_vec3f(this->position, local->unk28) < 10.0f){
|
||||
func_8035C080(this, 1);
|
||||
}
|
||||
else if(local->unkC > 0){//L8035CB8C
|
||||
|
Reference in New Issue
Block a user