@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
11 lines (10 loc) • 394 B
TypeScript
import { Vector2, Vector3 } from 'three';
import { NamedFunction2 } from './_Base';
export declare class distanceVector2 extends NamedFunction2<[Vector2, Vector2]> {
static type(): string;
func(v1: Vector2, v2: Vector2): number;
}
export declare class distanceVector3 extends NamedFunction2<[Vector3, Vector3]> {
static type(): string;
func(v1: Vector3, v2: Vector3): number;
}