@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
28 lines (27 loc) • 1.29 kB
TypeScript
import { Vector3 } from 'three';
import { NamedFunction3, NamedFunction4 } from './_Base';
export declare function _SDFBox(p: Vector3, center: Vector3, sizes: Vector3, size: number): number;
export declare class SDFBox extends NamedFunction4<[Vector3, Vector3, Vector3, number]> {
static type(): string;
func: typeof _SDFBox;
}
export declare function _SDFPlane(p: Vector3, center: Vector3, normal: Vector3, offset: number): number;
export declare class SDFPlane extends NamedFunction4<[Vector3, Vector3, Vector3, number]> {
static type(): string;
func: typeof _SDFPlane;
}
export declare function _SDFSphere(p: Vector3, center: Vector3, s: number): number;
export declare class SDFSphere extends NamedFunction3<[Vector3, Vector3, number]> {
static type(): string;
func: typeof _SDFSphere;
}
export declare function _SDFTorus(p: Vector3, center: Vector3, radius1: number, radius2: number): number;
export declare class SDFTorus extends NamedFunction4<[Vector3, Vector3, number, number]> {
static type(): string;
func: typeof _SDFTorus;
}
export declare function _SDFTube(p: Vector3, center: Vector3, radius: number): number;
export declare class SDFTube extends NamedFunction3<[Vector3, Vector3, number]> {
static type(): string;
func: typeof _SDFTube;
}