Class: MathHelp

MathHelp()

数学辅助类

Constructor

new MathHelp()

Methods

angleTo(a, b, c)

计算3个空间点的夹角角度
Parameters:
Name Type Description
a THREE.Vector3 起点
b THREE.Vector3 夹角点,即基点
c THREE.Vector3 终点

directionExtendPoint(a, b, length)

计算同方向的延长线上的点
Parameters:
Name Type Description
a THREE.Vector3 起点
b THREE.Vector3 终点
length Number 延长距离