Magnitude

The magnitude operator (‖x‖) calculates the length of a vec2, which is the distance from the base to the tip of the arrow it represents.

Interface

Inputs

ParameterDetailsPossible Types
Vec 2

Primary Input

Vec2[]
Vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]