@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
26 lines (25 loc) • 911 B
TypeScript
/**
* returns the distance between 2 vectors
*
*
*
*/
import { Number3 } from '../../../types/GlobalTypes';
import { JsConnectionPointType } from '../utils/io/connections/Js';
import { ParamlessTypedJsNode } from './_Base';
import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController';
declare enum DistanceJsNodeInputName {
VALUE0 = "v0",
VALUE1 = "v1"
}
export declare class DistanceJsNode extends ParamlessTypedJsNode {
static type(): string;
initializeNode(): void;
setLines(shadersCollectionController: JsLinesCollectionController): void;
protected _expectedInputTypes(): JsConnectionPointType[];
protected _expectedOutputTypes(): JsConnectionPointType[];
protected _expectedInputName(index: number): DistanceJsNodeInputName;
protected _expectedOutputName(index: number): string;
paramDefaultValue(name: string): Number3;
}
export {};