1 | import { Vector3 } from "./Vector3.js";
|
2 |
|
3 | export class Spherical {
|
4 | constructor(radius?: number, phi?: number, theta?: number);
|
5 |
|
6 | /**
|
7 | * @default 1
|
8 | */
|
9 | radius: number;
|
10 |
|
11 | /**
|
12 | * @default 0
|
13 | */
|
14 | phi: number;
|
15 |
|
16 | /**
|
17 | * @default 0
|
18 | */
|
19 | theta: number;
|
20 |
|
21 | set(radius: number, phi: number, theta: number): this;
|
22 | clone(): this;
|
23 | copy(other: Spherical): this;
|
24 | makeSafe(): this;
|
25 | setFromVector3(v: Vector3): this;
|
26 | setFromCartesianCoords(x: number, y: number, z: number): this;
|
27 | }
|