Parcourir la source

Fix parameters description for `Spherical#setFromCartesianCoords` (#31475)

Aurimas il y a 10 mois
Parent
commit
62e89317f5
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/math/Spherical.js

+ 2 - 2
src/math/Spherical.js

@@ -107,8 +107,8 @@ class Spherical {
 	 * Sets the spherical components from the given Cartesian coordinates.
 	 * Sets the spherical components from the given Cartesian coordinates.
 	 *
 	 *
 	 * @param {number} x - The x value.
 	 * @param {number} x - The x value.
-	 * @param {number} y - The x value.
-	 * @param {number} z - The x value.
+	 * @param {number} y - The y value.
+	 * @param {number} z - The z value.
 	 * @return {Spherical} A reference to this spherical.
 	 * @return {Spherical} A reference to this spherical.
 	 */
 	 */
 	setFromCartesianCoords( x, y, z ) {
 	setFromCartesianCoords( x, y, z ) {

粤ICP备19079148号