Sfoglia il codice sorgente

Merge pull request #19218 from goechsler/fix-quaternion-docs

Fix explanation of Quaternion.lengthSq()
Mr.doob 5 anni fa
parent
commit
f16f83dd4e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docs/api/en/math/Quaternion.html

+ 1 - 1
docs/api/en/math/Quaternion.html

@@ -109,7 +109,7 @@
 
 
 		<h3>[method:Float lengthSq]()</h3>
 		<h3>[method:Float lengthSq]()</h3>
 		<p>
 		<p>
-			Computes the [link:https://en.wikipedia.org/wiki/Euclidean_distance Euclidean length]
+			Computes the squared [link:https://en.wikipedia.org/wiki/Euclidean_distance Euclidean length]
 			(straight-line length) of this quaternion, considered as a 4 dimensional
 			(straight-line length) of this quaternion, considered as a 4 dimensional
 			vector. This can be useful if you are comparing the lengths of two quaternions,
 			vector. This can be useful if you are comparing the lengths of two quaternions,
 			as this is a slightly more efficient calculation than [page:.length length]().
 			as this is a slightly more efficient calculation than [page:.length length]().