From e2d459b964750897f8274ba0ce14cf4b533ad45b Mon Sep 17 00:00:00 2001 From: maximeq Date: Fri, 10 Aug 2012 10:48:39 +0300 Subject: [PATCH] Update docs/api/core/Vector3.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit isZero actually checks the squared length against the "small epsilon". 0.0001 = 0.01² so the function will return true for a length < 0.01. By the way if there is a good reason for a so limited accuracy it should be given here in the doc (or maybe even in the code). --- docs/api/core/Vector3.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/core/Vector3.html b/docs/api/core/Vector3.html index c3d0f7fecc..9cf32e08ae 100644 --- a/docs/api/core/Vector3.html +++ b/docs/api/core/Vector3.html @@ -177,7 +177,7 @@

.isZero() [page:Boolean]

- Checks if length of this vector is within small epsilon (*0.0001*). + Checks if length of this vector is within small epsilon (*0.01*).

.clone() [page:Vector3]

-- GitLab