Rename Vector2ClampMagnitude and Vector3ClampMagnitude to Vector2ClampValue and Vector3ClampValue
This commit is contained in:
parent
828657d48b
commit
b9817803c5
|
|
@ -449,7 +449,7 @@ RMAPI Vector2 Vector2Clamp(Vector2 v, Vector2 min, Vector2 max)
|
||||||
|
|
||||||
// Clamp the magnitude of the vector between two
|
// Clamp the magnitude of the vector between two
|
||||||
// given min and max values
|
// given min and max values
|
||||||
RMAPI Vector2 Vector2ClampMagnitude(Vector2 v, float minMag, float maxMag)
|
RMAPI Vector2 Vector2ClampValue(Vector2 v, float minMag, float maxMag)
|
||||||
{
|
{
|
||||||
Vector2 result = { 0 };
|
Vector2 result = { 0 };
|
||||||
|
|
||||||
|
|
@ -992,7 +992,7 @@ RMAPI Vector3 Vector3Clamp(Vector3 v, Vector3 min, Vector3 max)
|
||||||
|
|
||||||
// Clamp the magnitude of the vector between two
|
// Clamp the magnitude of the vector between two
|
||||||
// given min and max values
|
// given min and max values
|
||||||
RMAPI Vector3 Vector3ClampMagnitude(Vector3 v, float minMag, float maxMag)
|
RMAPI Vector3 Vector3ClampValue(Vector3 v, float minMag, float maxMag)
|
||||||
{
|
{
|
||||||
Vector3 result = { 0 };
|
Vector3 result = { 0 };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user