Check whether this Vector is approximately equal to a given Vector.
name | type | arguments | Default | description |
---|---|---|---|---|
v | Phaser.Types.Math.Vector2Like |
The vector to compare with this Vector. |
||
epsilon | number | <optional> | 0.0001 |
The tolerance value. |
Whether both absolute differences of the x and y components are smaller than epsilon
.