TR4 bbox camera formula

This commit is contained in:
Troye 2022-08-17 03:05:41 -05:00
parent ba06a9cd8f
commit 3da4b165ab

View file

@ -1461,7 +1461,7 @@ void CalculateCamera()
auto* bounds = GetBoundsAccurate(item);
int x;
int y = ((bounds->Y1 + bounds->Y2) / 2) + item->Pose.Position.y - CLICK(1);
int y = item->Pose.Position.y + bounds->Y2 + (3 * (bounds->Y1 - bounds->Y2) / 4);
int z;
if (Camera.item)