fract
fract(v) ⇒ number
compute the fractional part of the argument GLSL "fract" function port
Kind: global function
Returns: number
- returns the fractional part of x. This is calculated as x - floor(x).
See: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/fract.xhtml
Param | Type |
---|---|
v | number |