Forráskód Böngészése

Merge pull request #2127 from YeldhamDev/malformed_shading_table_fix

Fix malformed table in "Shading language" page
Rémi Verschelde 6 éve
szülő
commit
55f38d8100

+ 1 - 1
tutorials/shading/shading_reference/shading_language.rst

@@ -514,7 +514,7 @@ When vec_type (float), vec_int_type, vec_uint_type, vec_bool_type nomenclature i
 +-----------------------------------------------------------------------------------------------+------------------------------------------------+
 | vec_type **mix** ( vec_type a, vec_type b, vec_bool_type c )                                  | Linear Interpolate (Bool-Vector Selection)     |
 +-----------------------------------------------------------------------------------------------+------------------------------------------------+
-| vec_type **step** ( vec_type a, vec_type b )                                                  | ``b[i] < a[i] ? 0.0 : 1.0``                |
+| vec_type **step** ( vec_type a, vec_type b )                                                  | ``b[i] < a[i] ? 0.0 : 1.0``                    |
 +-----------------------------------------------------------------------------------------------+------------------------------------------------+
 | vec_type **step** ( float a, vec_type b )                                                     | ``b[i] < a ? 0.0 : 1.0``                       |
 +-----------------------------------------------------------------------------------------------+------------------------------------------------+