mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 14:20:11 +00:00
Consistent naming for Math_ functions (#542)
* Darkmeiro decompilation Bg_Gnd_Darkmeiro decompiled, matched, and documented. * give this a shot * fix conflict * one more try * could be useful * whoops * ZAP2 stuff * ZAP why * ZAP again * maths * Factoriali -> Factorial * soon, soon * renames * rand * docs * merged * formatting * little more cleanup * asm crept back in * changes to MathF * smooth criminal * functions.h
This commit is contained in:
parent
81c269b417
commit
8fa6cb6ff9
1329 changed files with 8413 additions and 8374 deletions
|
@ -120,7 +120,7 @@ void func_80A5046C(EnGuest* this) {
|
|||
if (this->unk_30E >= 3) {
|
||||
this->unk_30E = 0;
|
||||
this->unk_30D = 0;
|
||||
this->unk_2CA = (s32)Math_Rand_ZeroFloat(60.0f) + 20;
|
||||
this->unk_2CA = (s32)Rand_ZeroFloat(60.0f) + 20;
|
||||
} else {
|
||||
this->unk_2CA = 1;
|
||||
}
|
||||
|
@ -207,8 +207,8 @@ s32 EnGuest_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dLis
|
|||
}
|
||||
|
||||
if (limbIndex == 8 || limbIndex == 9 || limbIndex == 12) {
|
||||
rot->y += Math_Sins(this->unk_2CC[limbIndex]) * 200.0f;
|
||||
rot->z += Math_Coss(this->unk_2EC[limbIndex]) * 200.0f;
|
||||
rot->y += Math_SinS(this->unk_2CC[limbIndex]) * 200.0f;
|
||||
rot->z += Math_CosS(this->unk_2EC[limbIndex]) * 200.0f;
|
||||
}
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_guest.c", 388);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue