UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

14 lines (8 loc) 416 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [IVectorToVector](./tools.ivectortovector.md) ## IVectorToVector type 向量接口类型转向量类型 **Signature:** ```typescript export type IVectorToVector<V extends IVector> = V extends IVector4 ? Vector4 : (V extends IVector3 ? Vector3 : Vector2); ```