From 10925130cbc2b0d564434fa4badf0f9940ec66db Mon Sep 17 00:00:00 2001 From: ffrostfall <80861876+ffrostflame@users.noreply.github.com> Date: Mon, 13 May 2024 18:31:28 -0400 Subject: [PATCH] Change `vector.unit` to be `vector.normalized` --- docs/vector-library.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/vector-library.md b/docs/vector-library.md index fd80e72..a777ba8 100644 --- a/docs/vector-library.md +++ b/docs/vector-library.md @@ -28,9 +28,9 @@ Due to the common usage of vectors, vector creation should be ergonomic. Therefo Calculates the magnitude of a given vector. -`vector.unit(vec: vector): vector` +`vector.normalized(vec: vector): vector` -Returns the unit vector (aka normalized vector) of a given vector. +Returns the normalized version (aka unit vector) of a given vector. `vector.cross(vecA: vector, vecB: vector): vector`