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) | +------------------------------------------------------------------------+---------------------------------------------------------------+