Declaration
func Vector2Magnitude(value Vector2) float
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Value | Vector2 | 2D vector |
Return
| Type | Description |
|---|---|
| Float | The modulo result. It is the vector length |
Modulo a 2D vector
func Vector2Magnitude(value Vector2) float
go
| Name | Type | Description |
|---|---|---|
| Value | Vector2 | 2D vector |
| Type | Description |
|---|---|
| Float | The modulo result. It is the vector length |