mirror of https://github.com/AxioDL/metaforce.git
CElementGen: Use transposed matrix in SetOrientation
This commit is contained in:
parent
579bfbb51d
commit
99b6034e5c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue