length2 VEX function

Returns the squared distance of the vector or vector4.

Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex

See also: length

  1. float length2(vector )

  2. float length2(vector4 )

Returns the squared distance of the vector or vector4.