2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 20:57:01 +00:00

CElementGen: Correct x208_orientationInverse type to CMatrix3f

This commit is contained in:
2020-04-23 04:41:57 -04:00
parent e94cd265f8
commit 579bfbb51d
2 changed files with 2 additions and 2 deletions

View File

@@ -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);