From e2c2becefedb97858b8e4029ba33cd4e037eaae9 Mon Sep 17 00:00:00 2001 From: lukostello <53994293+lukostello@users.noreply.github.com> Date: Sun, 1 Nov 2020 08:46:01 -0500 Subject: [PATCH] Explain what fractional means in the Shading language reference (#4328) --- tutorials/shaders/shader_reference/shading_language.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/shaders/shader_reference/shading_language.rst b/tutorials/shaders/shader_reference/shading_language.rst index a77fbe777..87fb02e75 100644 --- a/tutorials/shaders/shader_reference/shading_language.rst +++ b/tutorials/shaders/shader_reference/shading_language.rst @@ -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) | +------------------------------------------------------------------------+---------------------------------------------------------------+