fix(model): correctly set identity in CM2Model::SetWorldTransform

This commit is contained in:
fallenoak committed 2025-11-04 15:38:57 -06:00
1 parent a508885c78
commit e8d94cbea3
1 file changed
+1 -2
+1 -2
View File
@@ -1989,8 +1989,7 @@ void CM2Model::SetVisible(int32_t visible) {
}
void CM2Model::SetWorldTransform(const C3Vector& position, float orientation, float scale) {
C44Matrix(this->matrixB4);
this->matrixB4.Identity();
this->matrixB4.RotateAroundZ(orientation);
this->matrixB4.Scale(scale);
this->matrixB4.d0 = position.x;