CElementGen: Use transposed matrix in SetOrientation

This commit is contained in:
Luke Street 2020-04-23 05:06:14 -04:00
parent 579bfbb51d
commit 99b6034e5c
1 changed files with 1 additions and 1 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().basis;
x208_orientationInverse = x1d8_orientation.basis.transposed();
for (const std::unique_ptr<CParticleGen>& ch : x290_activePartChildren)
ch->SetOrientation(orientation);