unitVectorTo Method
Return a unit vector from this vector to other. Return a 000 vector if the input is too small to normalize.
unitVectorTo(target: XYAndZ, result?: Vector3d): Vector3d | undefined
| Parameter | Type | Description |
|---|---|---|
| target | XYAndZ | |
| result | Vector3d | optional result vector. |
Defined in
Last Updated: 08 January, 2020