mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 20:29:03 +00:00
Explain what fractional means in the Shading language reference (#4328)
This commit is contained in:
@@ -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) |
|
||||
+------------------------------------------------------------------------+---------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user