From 8bdb853d99984bda555373d9279e5132999950ce Mon Sep 17 00:00:00 2001 From: Oscar Lostes Cazorla Date: Thu, 14 May 2020 18:55:58 +0300 Subject: [PATCH] Square length functions renamed --- src/raymath.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raymath.h b/src/raymath.h index dc577d0d8..662ce25c2 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -208,7 +208,7 @@ RMDEF float Vector2Length(Vector2 v) } // Calculate vector square length -RMDEF float Vector2SqrLength(Vector2 v) +RMDEF float Vector2LengthSqr(Vector2 v) { float result = (v.x*v.x) + (v.y*v.y); return result; @@ -409,7 +409,7 @@ RMDEF float Vector3Length(const Vector3 v) } // Calculate vector square length -RMDEF float Vector3SqrLength(const Vector3 v) +RMDEF float Vector3LengthSqr(const Vector3 v) { float result = v.x*v.x + v.y*v.y + v.z*v.z; return result;