mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 09:47:58 +03:00
Rename
This commit is contained in:
parent
72637ef53f
commit
97e1b218ea
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ struct COLL_INFO;
|
|||
#define LARA_SLOW_TURN ANGLE(4.0f)
|
||||
#define LARA_MED_TURN ANGLE(6.0f)
|
||||
#define LARA_FAST_TURN ANGLE(8.0f)
|
||||
#define LARA_VAULT_THRESHOLD ANGLE(30.0f)
|
||||
#define LARA_GRAB_THRESHOLD ANGLE(30.0f)
|
||||
|
||||
constexpr auto LARA_HEIGHT = CLICK(3) - 1; // The size of Lara (from the floor to the top of the head)
|
||||
constexpr auto LARA_HEIGHT_CRAWL = 400; // Size of Lara in crawl state
|
||||
|
|
|
@ -60,7 +60,7 @@ bool TestValidLedge(ITEM_INFO* item, COLL_INFO* coll)
|
|||
if (abs(left - right) >= slopeDelta)
|
||||
return false;
|
||||
|
||||
if (abs((short)(coll->NearestLedgeAngle - coll->Setup.ForwardAngle)) > LARA_VAULT_THRESHOLD)
|
||||
if (abs((short)(coll->NearestLedgeAngle - coll->Setup.ForwardAngle)) > LARA_GRAB_THRESHOLD)
|
||||
return false;
|
||||
|
||||
auto headroom = (coll->Front.Floor + coll->Setup.Height) - coll->Middle.Ceiling;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue