mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-11-21 20:29:59 +01:00
Fix regression
This commit is contained in:
parent
58a4a81b9c
commit
292f4c4eae
1 changed files with 2 additions and 2 deletions
|
@ -1202,12 +1202,12 @@ void moveCameraWithCollision(Camera *camera, Vector2D planeOffset,
|
|||
{\
|
||||
Unit height = floorHeightFunc(s1,s2);\
|
||||
if (height > bottomLimit)\
|
||||
dir##Collides = 0;\
|
||||
dir##Collides = 1;\
|
||||
else if (ceilingHeightFunc != 0)\
|
||||
{\
|
||||
height = ceilingHeightFunc(s1,s2);\
|
||||
if (height < topLimit)\
|
||||
dir##Collides = 0;\
|
||||
dir##Collides = 1;\
|
||||
}\
|
||||
}\
|
||||
else\
|
||||
|
|
Loading…
Reference in a new issue