Simstim

VEX Dictionary / length2

length2

Returns the squared magnitude of a vector, cheaper than squaring the result of length.

group: mathvectormeasure

Available in every context

Usage

float length2(vector2 v)
float length2(vector v)
float length2(vector4 v)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗