mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 15:51:22 +00:00
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) {
|
void CElementGen::SetOrientation(const zeus::CTransform& orientation) {
|
||||||
x1d8_orientation = 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)
|
for (const std::unique_ptr<CParticleGen>& ch : x290_activePartChildren)
|
||||||
ch->SetOrientation(orientation);
|
ch->SetOrientation(orientation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user