mirror of https://github.com/AxioDL/metaforce.git
Update zeus, initial CMappableObject imp
This commit is contained in:
parent
f4694e3231
commit
871489dce2
|
@ -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)
|
||||
{
|
||||
|
|
2
specter
2
specter
|
@ -1 +1 @@
|
|||
Subproject commit e4a041ce5806c8108b03963673f98c8ba5e2f3d2
|
||||
Subproject commit eea8bd42fc4c6854636ea6d1d08ae3ba76596f40
|
Loading…
Reference in New Issue