Просмотр исходного кода

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

Aurimas 5 месяцев назад
Родитель
Сommit
62e89317f5
1 измененных файлов с 2 добавлено и 2 удалено
  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号