int VEX function

if the argument is negative, this returns ceil(x), otherwise it returns floor(x).

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

  1. float int(float )

  2. vector int(vector )

  3. vector4 int(vector4 )

if the argument is negative, this returns ceil(x), otherwise it returns floor(x).