UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

15 lines (14 loc) 591 B
import { Sphere, Vector3 } from 'three'; import { NamedFunction1, NamedFunction2, NamedFunction3 } from './_Base'; export declare class sphereSet extends NamedFunction3<[Vector3, number, Sphere]> { static type(): string; func(center: Vector3, radius: number, target: Sphere): Sphere; } export declare class getSphereCenter extends NamedFunction2<[Sphere, Vector3]> { static type(): string; func(sphere: Sphere, target: Vector3): Vector3; } export declare class getSphereRadius extends NamedFunction1<[Sphere]> { static type(): string; func(sphere: Sphere): number; }