floor VEX function

Returns the largest integer less than or equal to the argument

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

  1. int floor(float )

  2. float floor(float )

  3. vector floor(vector )

  4. vector4 floor(vector4 )

Returns the largest integer less than or equal to the argument