dot VEX function
Returns the dot product between the arguments.
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
-
float dot(vector , vector ) -
float dot(vector , vector4 ) -
float dot(vector4 , vector )
Returns the dot product between the arguments. When 4 component vectors are specified, only the first three components are taken into consideration.