# sm.vec3.fuzzyEquals

Compare vectors with threshold FLT_EPSILON.

**Kind:** Function

**Environments:** Game, Terrain

## Game

``` { .lua .api-signature }
sm.vec3.fuzzyEquals( v1, v2 )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.vec3.md#fuzzyequals)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `v1` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The first vector. |
| `v2` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The second vector. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | The result of the comparison. |

## Terrain

``` { .lua .api-signature }
sm.vec3.fuzzyEquals( v1, v2 )
```

[Open the full Terrain reference](../Terrain-Script-Environment/Static-Functions/sm.vec3.md#fuzzyequals)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `v1` | [Vec3](../Terrain-Script-Environment/Userdata/Vec3.md) | The first vector. |
| `v2` | [Vec3](../Terrain-Script-Environment/Userdata/Vec3.md) | The second vector. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | The result of the comparison. |
