Skip to content

Commit 5f9a9e3

Browse files
committed
- added back 'in' param to 'position' change which got clobbered by the Fab version of the code.
1 parent db410b5 commit 5f9a9e3

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

Source/RyRuntime/Public/RyRuntimeMathHelpers.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -538,20 +538,20 @@ class RYRUNTIME_API URyRuntimeMathHelpers : public UBlueprintFunctionLibrary
538538
/**
539539
* Checks whether the given location is inside this box.
540540
*
541-
* @param in - The location to test for inside the bounding volume.
541+
* @param position - The location to test for inside the bounding volume.
542542
* @return true if location is inside this volume.
543543
*/
544544
UFUNCTION(BlueprintPure, Category="RyRuntime|Math|Box")
545-
static bool IsPositionInsideBox(const FVector& in, const FBox& box);
545+
static bool IsPositionInsideBox(const FVector& position, const FBox& box);
546546

547547
/**
548548
* Checks whether the given location is inside or on this box.
549549
*
550-
* @param in - The location to test for inside the bounding volume.
550+
* @param position - The location to test for inside the bounding volume.
551551
* @return true if location is inside this volume.
552552
*/
553553
UFUNCTION(BlueprintPure, Category="RyRuntime|Math|Box")
554-
static bool IsPositionInsideOrOnBox(const FVector& in, const FBox& box);
554+
static bool IsPositionInsideOrOnBox(const FVector& position, const FBox& box);
555555

556556
/**
557557
* Checks whether a given box is fully encapsulated by this box.
@@ -565,11 +565,11 @@ class RYRUNTIME_API URyRuntimeMathHelpers : public UBlueprintFunctionLibrary
565565
/**
566566
* Checks whether the given location is inside this box in the XY plane.
567567
*
568-
* @param in - The location to test for inside the bounding box.
568+
* @param position - The location to test for inside the bounding box.
569569
* @return true if location is inside this box in the XY plane.
570570
*/
571571
UFUNCTION(BlueprintPure, Category="RyRuntime|Math|Box")
572-
static bool IsPositionInsideBoxXY(const FVector& in, const FBox& box);
572+
static bool IsPositionInsideBoxXY(const FVector& position, const FBox& box);
573573

574574
/**
575575
* Checks whether the given box is fully encapsulated by this box in the XY plane.
@@ -1073,18 +1073,18 @@ void URyRuntimeMathHelpers::TransformBoxBy(const FBox& boxToTransform, const FTr
10731073
/**
10741074
*/
10751075
FORCEINLINE
1076-
bool URyRuntimeMathHelpers::IsPositionInsideBox(const FVector& in, const FBox& box)
1076+
bool URyRuntimeMathHelpers::IsPositionInsideBox(const FVector& position, const FBox& box)
10771077
{
1078-
return box.IsInside(in);
1078+
return box.IsInside(position);
10791079
}
10801080

10811081
//---------------------------------------------------------------------------------------------------------------------
10821082
/**
10831083
*/
10841084
FORCEINLINE
1085-
bool URyRuntimeMathHelpers::IsPositionInsideOrOnBox(const FVector& in, const FBox& box)
1085+
bool URyRuntimeMathHelpers::IsPositionInsideOrOnBox(const FVector& position, const FBox& box)
10861086
{
1087-
return box.IsInsideOrOn(in);
1087+
return box.IsInsideOrOn(position);
10881088
}
10891089

10901090
//---------------------------------------------------------------------------------------------------------------------
@@ -1100,9 +1100,9 @@ bool URyRuntimeMathHelpers::IsBoxInsideOtherBox(const FBox& box, const FBox& oth
11001100
/**
11011101
*/
11021102
FORCEINLINE
1103-
bool URyRuntimeMathHelpers::IsPositionInsideBoxXY(const FVector& in, const FBox& box)
1103+
bool URyRuntimeMathHelpers::IsPositionInsideBoxXY(const FVector& position, const FBox& box)
11041104
{
1105-
return box.IsInsideXY(in);
1105+
return box.IsInsideXY(position);
11061106
}
11071107

11081108
//---------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)