mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +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
|
@ -129,7 +129,7 @@ void func_80B93E38(ObjHsblock* this) {
|
|||
void func_80B93E5C(ObjHsblock* this, GlobalContext* globalCtx) {
|
||||
Math_SmoothStepToF(&this->dyna.actor.velocity.y, 16.0f, 0.1f, 0.8f, 0.0f);
|
||||
if (fabsf(Math_SmoothStepToF(&this->dyna.actor.posRot.pos.y, this->dyna.actor.initPosRot.pos.y, 0.3f,
|
||||
this->dyna.actor.velocity.y, 0.3f)) < 0.001f) {
|
||||
this->dyna.actor.velocity.y, 0.3f)) < 0.001f) {
|
||||
this->dyna.actor.posRot.pos.y = this->dyna.actor.initPosRot.pos.y;
|
||||
func_80B93D90(this);
|
||||
this->dyna.actor.flags &= ~0x10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue