starry / backend /libs /three /math /Spherical.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
import { Vector3 } from './Vector3';
export class Spherical {
constructor(radius?: number, phi?: number, theta?: number);
/**
* @default 1
*/
radius: number;
/**
* @default 0
*/
phi: number;
/**
* @default 0
*/
theta: number;
set(radius: number, phi: number, theta: number): this;
clone(): this;
copy(other: Spherical): this;
makeSafe(): this;
setFromVector3(v: Vector3): this;
setFromCartesianCoords(x: number, y: number, z: number): this;
}