mirror of
https://github.com/MonsterDruide1/OdysseyDecomp.git
synced 2024-11-23 13:29:49 +00:00
al/ActorMovement: addVelocity* (f28f267)
Co-authored-by: cwhaley112 <cwhaley112@gmail.com>
This commit is contained in:
parent
628ae33345
commit
41f3186e28
@ -56429,11 +56429,11 @@ Address,Quality,Size,Name
|
|||||||
0x00000071008e3240,U,000172,_ZN2al18setVelocityOnlyDirEPNS_9LiveActorERKN4sead7Vector3IfEEf
|
0x00000071008e3240,U,000172,_ZN2al18setVelocityOnlyDirEPNS_9LiveActorERKN4sead7Vector3IfEEf
|
||||||
0x00000071008e32ec,U,000184,_ZN2al16setVelocityOnlyVEPNS_9LiveActorEf
|
0x00000071008e32ec,U,000184,_ZN2al16setVelocityOnlyVEPNS_9LiveActorEf
|
||||||
0x00000071008e33a4,U,000180,_ZN2al22setVelocityOnlyGravityEPNS_9LiveActorEf
|
0x00000071008e33a4,U,000180,_ZN2al22setVelocityOnlyGravityEPNS_9LiveActorEf
|
||||||
0x00000071008e3458,U,000088,_ZN2al11addVelocityEPNS_9LiveActorERKN4sead7Vector3IfEE
|
0x00000071008e3458,O,000088,_ZN2al11addVelocityEPNS_9LiveActorERKN4sead7Vector3IfEE
|
||||||
0x00000071008e34b0,U,000088,_ZN2al11addVelocityEPNS_9LiveActorEfff
|
0x00000071008e34b0,O,000088,_ZN2al11addVelocityEPNS_9LiveActorEfff
|
||||||
0x00000071008e3508,U,000056,_ZN2al12addVelocityXEPNS_9LiveActorEf
|
0x00000071008e3508,O,000056,_ZN2al12addVelocityXEPNS_9LiveActorEf
|
||||||
0x00000071008e3540,U,000056,_ZN2al12addVelocityYEPNS_9LiveActorEf
|
0x00000071008e3540,O,000056,_ZN2al12addVelocityYEPNS_9LiveActorEf
|
||||||
0x00000071008e3578,U,000056,_ZN2al12addVelocityZEPNS_9LiveActorEf
|
0x00000071008e3578,O,000056,_ZN2al12addVelocityZEPNS_9LiveActorEf
|
||||||
0x00000071008e35b0,U,000200,_ZN2al15addVelocityDumpEPNS_9LiveActorERKN4sead7Vector3IfEEf
|
0x00000071008e35b0,U,000200,_ZN2al15addVelocityDumpEPNS_9LiveActorERKN4sead7Vector3IfEEf
|
||||||
0x00000071008e3678,U,000116,_ZN2al15addVelocityJumpEPNS_9LiveActorEf
|
0x00000071008e3678,U,000116,_ZN2al15addVelocityJumpEPNS_9LiveActorEf
|
||||||
0x00000071008e36ec,U,000132,_ZN2al18addVelocityToFrontEPNS_9LiveActorEf
|
0x00000071008e36ec,U,000132,_ZN2al18addVelocityToFrontEPNS_9LiveActorEf
|
||||||
|
Can't render this file because it is too large.
|
@ -95,4 +95,32 @@ sead::Vector3f* getVelocityPtr(LiveActor* actor) {
|
|||||||
|
|
||||||
// separateVelocityHV
|
// separateVelocityHV
|
||||||
|
|
||||||
|
void addVelocity(al::LiveActor* actor, const sead::Vector3f& vel) {
|
||||||
|
sead::Vector3f* currentVelocity = actor->getPoseKeeper()->getVelocityPtr();
|
||||||
|
*currentVelocity += vel;
|
||||||
|
}
|
||||||
|
|
||||||
|
void addVelocity(al::LiveActor* actor, f32 x, f32 y, f32 z) {
|
||||||
|
sead::Vector3f* currentVelocity = actor->getPoseKeeper()->getVelocityPtr();
|
||||||
|
currentVelocity->x += x;
|
||||||
|
currentVelocity->y += y;
|
||||||
|
currentVelocity->z += z;
|
||||||
|
}
|
||||||
|
|
||||||
|
void addVelocityX(al::LiveActor* actor, f32 x) {
|
||||||
|
sead::Vector3f* currentVelocity = actor->getPoseKeeper()->getVelocityPtr();
|
||||||
|
currentVelocity->x += x;
|
||||||
|
}
|
||||||
|
|
||||||
|
void addVelocityY(al::LiveActor* actor, f32 y) {
|
||||||
|
sead::Vector3f* currentVelocity = actor->getPoseKeeper()->getVelocityPtr();
|
||||||
|
currentVelocity->y += y;
|
||||||
|
}
|
||||||
|
|
||||||
|
void addVelocityZ(al::LiveActor* actor, f32 z) {
|
||||||
|
sead::Vector3f* currentVelocity = actor->getPoseKeeper()->getVelocityPtr();
|
||||||
|
currentVelocity->z += z;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace al
|
} // namespace al
|
||||||
|
Loading…
Reference in New Issue
Block a user