@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
17 lines (16 loc) • 660 B
TypeScript
import { Vector2, Vector3, Vector4 } from 'three';
import { NamedFunction, NamedFunction2 } from './_Base';
export declare class addNumber extends NamedFunction<Array<number>, Array<string>> {
static type(): string;
func(...args: Array<number>): number;
}
type AvailableItem = Vector2 | Vector3 | Vector4;
export declare class addVector<V extends AvailableItem> extends NamedFunction<Array<V>, Array<string>> {
static type(): string;
func(...args: Array<V>): V;
}
export declare class addVectorNumber<V extends AvailableItem> extends NamedFunction2<[V, number]> {
static type(): string;
func(vector: V, number: number): V;
}
export {};