Explain what fractional means in the Shading language reference (#4328)

This commit is contained in:
lukostello
2020-11-01 14:46:01 +01:00
committed by GitHub
parent e9228aa741
commit e2c2becefe
@@ -742,7 +742,7 @@ When vec_type (float), vec_int_type, vec_uint_type, vec_bool_type nomenclature i
+------------------------------------------------------------------------+---------------------------------------------------------------+
| vec_type **ceil** (vec_type x) | Round to the integer above |
+------------------------------------------------------------------------+---------------------------------------------------------------+
| vec_type **fract** (vec_type x) | Fractional |
| vec_type **fract** (vec_type x) | Fractional (returns ``x - floor(x)``) |
+------------------------------------------------------------------------+---------------------------------------------------------------+
| vec_type **mod** (vec_type x, vec_type y) | Modulo (division remainder) |
+------------------------------------------------------------------------+---------------------------------------------------------------+