Skip to content

Commit 9fe9223

Browse files
davcriMugen87
andauthored
Spherical: improve JSDoc (#27848)
* Spherical: improve JSDoc * Update Spherical.js * Update Spherical.js --------- Co-authored-by: Michael Herzog <[email protected]>
1 parent 6f0ad36 commit 9fe9223

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/math/Spherical.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
import * as MathUtils from './MathUtils.js';
2+
13
/**
24
* Ref: https://en.wikipedia.org/wiki/Spherical_coordinate_system
35
*
4-
* The polar angle (phi) is measured from the positive y-axis. The positive y-axis is up.
5-
* The azimuthal angle (theta) is measured from the positive z-axis.
6+
* phi (the polar angle) is measured from the positive y-axis. The positive y-axis is up.
7+
* theta (the azimuthal angle) is measured from the positive z-axis.
68
*/
7-
8-
import * as MathUtils from './MathUtils.js';
9-
109
class Spherical {
1110

1211
constructor( radius = 1, phi = 0, theta = 0 ) {

0 commit comments

Comments
 (0)