godot/doc
Dennis Brakhane 1e068d34f4 Add support for Python-like negative indexing
Negative indexing is a useful feature in Python, especially when combined
with array slicing. Array slicing will hopefully be implemented later, but
negative indexing is useful in its own right.

A negative index is indexing from the end of an array,
"array[-1] == array[array.size()-1]", using a negative index
larger/smaller than the length of the array is still an error.

While primarily useful for arrays and strings, support is also added to
"array like" structures like Vector3 and Color. This is done just
to be consistent; vector3[2] is much clearer than vector3[-1], but disallowing
it while allowing it for an array with 3 elements seems confusing.
2016-06-05 20:00:54 +02:00
..
base Add support for Python-like negative indexing 2016-06-05 20:00:54 +02:00
tools Various improvements to doc_status.py 2016-04-26 21:35:06 +02:00
Doxyfile Add a Makefile to generate classes doc in various formats 2015-12-13 00:01:04 +01:00
Makefile Enhance xml to rst converter 2016-02-07 12:13:19 +01:00