addNormal Method

Add a normal vector

addNormal(normal: Vector3d, priorIndexA?: number, priorIndexB?: number): number

Parameter Type Description
normal Vector3d  
priorIndexA number first index to check for possible duplicate value.
priorIndexB number second index to check for possible duplicate value.

Returns - number

0-based index of the added or reused normal.

Defined in

Last Updated: 11 June, 2024