The magnitude operator (‖x‖) calculates the length of a vec2, which is the distance from the base to the tip of the arrow represented by the vector.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Vector | Primary Input | vec2 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | f64 |