Update zeus, initial CMappableObject imp

This commit is contained in:
Phillip Stephens 2016-07-31 12:29:07 -07:00
parent f4694e3231
commit 871489dce2
2 changed files with 8 additions and 2 deletions

View File

@ -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)
{

@ -1 +1 @@
Subproject commit e4a041ce5806c8108b03963673f98c8ba5e2f3d2
Subproject commit eea8bd42fc4c6854636ea6d1d08ae3ba76596f40