Bläddra i källkod

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

Aurimas 10 månader sedan
förälder
incheckning
62e89317f5
1 ändrade filer med 2 tillägg och 2 borttagningar
  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.
 	 *
 	 * @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.
 	 */
 	setFromCartesianCoords( x, y, z ) {

粤ICP备19079148号