Magnitude

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

ParameterDetailsPossible Types
Vector

Primary Input

Vec2[]
Vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]