You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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.
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user