distance2 VEX function
Returns the squared distance between the two 3 or 4 dimensional point arguments.
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
See also: distance
-
float distance2(vector , vector ) -
float distance2(vector4 , vector4 )
Returns the squared distance between the two 3 or 4 dimensional point arguments.