Renaming FVector ClampSize and SafeNormal functions for clarity

Used DEPRECATED Macro to keep old names around in case I've missed anything

[CL 2370785 by Matthew Griffin in Main branch]
This commit is contained in:
Matthew Griffin
2014-11-26 10:01:12 -05:00
committed by UnrealBot
parent 28d846aa7f
commit f1c4513760
139 changed files with 554 additions and 470 deletions
@@ -1164,7 +1164,7 @@ public:
{
double SampleTime = FPlatformTime::Seconds();
float DeltaTime = (float)(SampleTime - LastMouseSampleTime);
FVector2D MouseDirection = MouseDelta.SafeNormal();
FVector2D MouseDirection = MouseDelta.GetSafeNormal();
float MouseAngle = FMath::Lerp(LastMouseAngle, FMath::Atan2(-MouseDirection.Y, MouseDirection.X), FMath::Min<float>(10.f * DeltaTime, 1.f)); // lerp over 100ms
LastMouseAngle = MouseAngle;
LastMouseSampleTime = SampleTime;