rint VEX function

Rounds the number to the closest integer.

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

  1. float rint(float )

  2. vector rint(vector )

  3. vector4 rint(vector4 )

Rounds the number to the closest integer.