From f6b24eb5bae44d7c2feb3c939f3dfffafee8fa53 Mon Sep 17 00:00:00 2001 From: Jack <85714123+jackdotink@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:41:13 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> --- 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 e8d10b4..131aa1a 100644 --- a/docs/vector-library.md +++ b/docs/vector-library.md @@ -20,11 +20,11 @@ This RFC proposes the following basic functions & constants as a starting point, `vector(x: number, y: number, z: number)` -Creates a vector with 3 components: x, y, z. If the feature flag for wide vectors is enabled, a fourth argument `w: number?` will be introduced. +Creates a vector with 3 components: x, y, z. If the `LUA_VECTOR_SIZE` configuration option is set to 4, a fourth argument `w: number?` will be introduced. Due to the common usage of vectors, vector creation should be ergonomic. Therefore, it is probably worth breaking the `create()` naming standard. -`vector.magnitude(vecA: vector): number` +`vector.magnitude(vec: vector): number` Calculates the magnitude of a given vector.