From 63798741804ab0f1c3225c46635d225653678e2f Mon Sep 17 00:00:00 2001 From: Roman Goldman <110924254+Dark-Horizons@users.noreply.github.com> Date: Thu, 11 Sep 2025 18:45:02 +0300 Subject: [PATCH] Fix Basis.determinant() doc: uniform scale determinant is scale^3, not scale^2 Corrected a documentation mistake in Basis.determinant(). For a uniform scale basis, the determinant is scale^3, not scale^2. --- doc/classes/Basis.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Basis.xml b/doc/classes/Basis.xml index 54c818aa455..55aa6ffc191 100644 --- a/doc/classes/Basis.xml +++ b/doc/classes/Basis.xml @@ -74,7 +74,7 @@ Returns the [url=https://en.wikipedia.org/wiki/Determinant]determinant[/url] of this basis's matrix. For advanced math, this number can be used to determine a few attributes: - If the determinant is exactly [code]0.0[/code], the basis is not invertible (see [method inverse]). - If the determinant is a negative number, the basis represents a negative scale. - [b]Note:[/b] If the basis's scale is the same for every axis, its determinant is always that scale by the power of 2. + [b]Note:[/b] If the basis's scale is the same for every axis, its determinant is always that scale by the power of 3.