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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user