Function: areSameVectors()
ts
function areSameVectors(first: Readonly<Vector>, second: Readonly<Vector>): boolean;Check whether two 3D vectors have exactly equal coordinates.
Parameters
| Parameter | Type | Description |
|---|---|---|
first | Readonly<Vector> | First vector. |
second | Readonly<Vector> | Second vector. |
Returns
boolean
Whether all coordinates are equal with ===.