assign VEX function

An efficient way of extracting the components of a vector, vector4, matrix3 or matrix to float variables.

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

  1. void assign(float c1&, float c2&, float c3&, vector source)

  2. void assign(float c1&, float c2&, float c3&, float c4&, vector4 source)

  3. void assign(float c1&, float c2&, float c3&, float c4&, float c5&, float c6&, float c7&, float c8&, float c9&, matrix3 source)

  4. void assign(float c1&, float c2&, float c3&, float c4&, float c5&, float c6&, float c7&, float c8&, float c9&, float c10&, float c11&, float c12&, float c13&, float c14&, float c15&, float c16&, matrix source)

An efficient way of extracting the components of a vector, vector4, matrix3 or matrix to float variables. Provide references to enough float variables to hold the components. The last argument is the source from which to extract the components.