mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 15:01:17 +00:00
matched Math3D_CylVsLineSeg and fixed a Math_ error (#564)
* matched cylvsline * slight name adjustment * format * and asm * comment cleanup * fixed misspelling and added mathfixer tool * formatting Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
parent
b95643b397
commit
3727cc38b8
36 changed files with 382 additions and 1048 deletions
|
@ -157,7 +157,7 @@ void EnVm_Wait(EnVm* this, GlobalContext* globalCtx) {
|
|||
this->actor.yDistFromLink <= 80.0f && this->actor.yDistFromLink >= -160.0f) {
|
||||
Math_SmoothStepToS(&this->beamRot, pitch, 10, 0xFA0, 0);
|
||||
if (Math_SmoothStepToS(&this->headRotY, this->actor.yawTowardsLink - this->actor.shape.rot.y, 1,
|
||||
(ABS((s16)(dist * 180.0f)) / 3) + 0xFA0, 0) <= 5460) {
|
||||
(ABS((s16)(dist * 180.0f)) / 3) + 0xFA0, 0) <= 5460) {
|
||||
this->timer--;
|
||||
if (this->timer == 0) {
|
||||
this->unk_25E++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue