mirror of https://github.com/AxioDL/metaforce.git
CElementGen: Correct x208_orientationInverse type to CMatrix3f
This commit is contained in:
parent
e94cd265f8
commit
579bfbb51d
|
@ -1789,7 +1789,7 @@ void CElementGen::RenderParticlesIndirectTexture() {
|
|||
|
||||
void CElementGen::SetOrientation(const zeus::CTransform& orientation) {
|
||||
x1d8_orientation = orientation;
|
||||
x208_orientationInverse = x1d8_orientation.inverse();
|
||||
x208_orientationInverse = x1d8_orientation.inverse().basis;
|
||||
|
||||
for (const std::unique_ptr<CParticleGen>& ch : x290_activePartChildren)
|
||||
ch->SetOrientation(orientation);
|
||||
|
|
|
@ -79,7 +79,7 @@ private:
|
|||
zeus::CTransform x178_localScaleTransform = zeus::CTransform();
|
||||
zeus::CTransform x1a8_localScaleTransformInverse = zeus::CTransform();
|
||||
zeus::CTransform x1d8_orientation = zeus::CTransform();
|
||||
zeus::CTransform x208_orientationInverse = zeus::CTransform();
|
||||
zeus::CMatrix3f x208_orientationInverse = zeus::CMatrix3f();
|
||||
zeus::CTransform x22c_globalOrientation = zeus::CTransform();
|
||||
|
||||
u32 x25c_activeParticleCount = 0;
|
||||
|
|
Loading…
Reference in New Issue