From 3aebcaf4d343055c61ab7dfaeb79d6a8c0090aab Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 9 Dec 2024 15:30:53 +0100 Subject: [PATCH] Clarify limit_length() for infinite vectors --- doc/classes/Vector2.xml | 2 +- doc/classes/Vector3.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index c03262bb33b..57c351ce4a8 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -270,7 +270,7 @@ - Returns the vector with a maximum length by limiting its length to [param length]. + Returns the vector with a maximum length by limiting its length to [param length]. If the vector is non-finite, the result is undefined. diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index 4ab3140eb63..6483d969378 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -239,7 +239,7 @@ - Returns the vector with a maximum length by limiting its length to [param length]. + Returns the vector with a maximum length by limiting its length to [param length]. If the vector is non-finite, the result is undefined.