JPAMath also OK

This commit is contained in:
LagoLunatic
2025-04-15 00:22:47 -04:00
parent 0d2c28e579
commit 3f6e74331e
3 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -683,7 +683,7 @@ config.libs = [
Object(Matching, "JSystem/JParticle/JPATexture.cpp"),
Object(Matching, "JSystem/JParticle/JPAResourceManager.cpp"),
Object(Matching, "JSystem/JParticle/JPAEmitterLoader.cpp"),
Object(NonMatching, "JSystem/JParticle/JPAMath.cpp"),
Object(Matching, "JSystem/JParticle/JPAMath.cpp"),
Object(NonMatching, "JSystem/JParticle/JPAField.cpp"),
Object(NonMatching, "JSystem/JParticle/JPAEmitter.cpp"),
Object(Matching, "JSystem/JParticle/JPAParticle.cpp"),
-2
View File
@@ -833,7 +833,6 @@ void JPADrawCalcScaleY::calc(const JPADrawContext* pDC, JPABaseParticle* ptcl) {
/* 80264EE8-802650B8 .text calc__24JPADrawCalcScaleXBySpeedFPC14JPADrawContextP15JPABaseParticle */
void JPADrawCalcScaleXBySpeed::calc(const JPADrawContext* pDC, JPABaseParticle* ptcl) {
/* Nonmatching */
JGeometry::TVec3<f32> vel;
vel.set(ptcl->mVelocity);
if (JPADrawContext::pcb->mScaleAnmTiming < pDC->pesp->getScaleInTiming()) {
@@ -848,7 +847,6 @@ void JPADrawCalcScaleXBySpeed::calc(const JPADrawContext* pDC, JPABaseParticle*
/* 802650B8-80265288 .text calc__24JPADrawCalcScaleYBySpeedFPC14JPADrawContextP15JPABaseParticle */
void JPADrawCalcScaleYBySpeed::calc(const JPADrawContext* pDC, JPABaseParticle* ptcl) {
/* Nonmatching */
JGeometry::TVec3<f32> vel;
vel.set(ptcl->mVelocity);
if (JPADrawContext::pcb->mScaleAnmTiming < pDC->pesp->getScaleInTiming()) {
-1
View File
@@ -60,7 +60,6 @@ void JPAGetXYZRotateMtx(s16 x, s16 y, s16 z, Mtx dst) {
/* 80259A64-80259B6C .text JPAGetDirMtx__FRCQ29JGeometry8TVec3<f>PA4_f */
void JPAGetDirMtx(const JGeometry::TVec3<f32>& dir, Mtx dst) {
/* Nonmatching - regalloc */
JGeometry::TVec3<f32> perp(dir.y, -dir.x, 0.0f);
f32 z = dir.z;