UNPKG

@polygonjs/polygonjs

Version:

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

14 lines (13 loc) 484 B
import { Vector2, Vector3, Vector4 } from 'three'; import { NamedFunction1, NamedFunction2 } from './_Base'; export declare class lengthVector<V extends Vector2 | Vector3 | Vector4> extends NamedFunction1<[V]> { static type(): string; func(src: V): number; } export declare class lengthVectorArray<V extends Vector2 | Vector3 | Vector4> extends NamedFunction2<[ Array<V>, Array<number> ]> { static type(): string; func(src: V[], target: number[]): number[]; }