mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Update zeus, initial CMappableObject imp
This commit is contained in:
@@ -13,7 +13,13 @@ zeus::CTransform CMappableObject::AdjustTransformForType()
|
||||
float doorCenterY = g_tweakAutoMapper->GetDoorCenter().y;
|
||||
if (x0_ == EMappableObjectType::BigDoor1)
|
||||
{
|
||||
|
||||
zeus::CTransform scale;
|
||||
scale.scaleBy(1.5);
|
||||
zeus::CTransform orientation;
|
||||
orientation.origin = {-1.4*doorCenterX, 0.0f, 0.0f};
|
||||
zeus::CTransform tmp3 = x10_ * orientation;
|
||||
orientation.rotateLocalZ(zeus::degToRad(90.0f));
|
||||
return tmp3 * scale;
|
||||
}
|
||||
else if (x0_ == EMappableObjectType::BigDoor2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user