UNPKG

@polygonjs/polygonjs

Version:

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

25 lines (24 loc) 1.1 kB
import { Object3D, Vector3, Matrix4 } from 'three'; import { NamedFunction2, NamedFunction3 } from './_Base'; export declare class vector3AngleTo extends NamedFunction2<[Vector3, Vector3]> { static type(): string; func(v1: Vector3, v2: Vector3): number; } export declare class vector3ProjectOnPlane extends NamedFunction3<[Vector3, Vector3, Vector3]> { static type(): string; func(src: Vector3, planeNormal: Vector3, target: Vector3): Vector3; } export declare class vector3Project extends NamedFunction3<[Vector3, Object3D, Vector3]> { static type(): string; private _getDefaultCamera; func(src: Vector3, object3D: Object3D, target: Vector3): Vector3; } export declare class vector3Unproject extends NamedFunction3<[Vector3, Object3D, Vector3]> { static type(): string; private _getDefaultCamera; func(src: Vector3, object3D: Object3D, target: Vector3): Vector3; } export declare class vector3ApplyMatrix4 extends NamedFunction3<[Vector3, Matrix4, Vector3]> { static type(): string; func(src: Vector3, matrix4: Matrix4, target: Vector3): Vector3; }