three
Version:
JavaScript 3D library
19 lines (13 loc) • 408 B
TypeScript
import { Vector3 } from './Vector3';
export class Spherical {
constructor( radius?: number, phi?: number, theta?: number );
radius: number;
phi: number;
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;
}