Merge pull request #110424 from Dark-Horizons/patch-1

Fix Basis.determinant() doc: uniform scale determinant is scale^3
This commit is contained in:
Thaddeus Crews 2025-09-19 09:17:08 -05:00
commit 3632e6f463
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -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: 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 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. - 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.
</description> </description>
</method> </method>
<method name="from_euler" qualifiers="static"> <method name="from_euler" qualifiers="static">