diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-02-10 23:25:01 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-02-10 23:25:01 +0300 |
commit | 59c0a1e7c8df1c44df1bd0b459e3e17c481c4e76 (patch) | |
tree | 88896060524598f57ea691523726ba47c3a7ab07 /doc | |
parent | bb08502cf40613778ae880db88e8772dc63fe581 (diff) |
Typo fix + clarification in mathutils.Vector example
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/examples/mathutils.Vector.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/python_api/examples/mathutils.Vector.py b/doc/python_api/examples/mathutils.Vector.py index 14b8829c3b5..3f79fdebff1 100644 --- a/doc/python_api/examples/mathutils.Vector.py +++ b/doc/python_api/examples/mathutils.Vector.py @@ -18,16 +18,16 @@ matrix = mathutils.Matrix() # Comparison operators can be done on Vector classes: -# greater and less then test vector length. +# (In)equality operators == and != test component values, e.g. 1,2,3 != 3,2,1 +vec_a == vec_b +vec_a != vec_b + +# Ordering operators >, >=, > and <= test vector length. vec_a > vec_b vec_a >= vec_b vec_a < vec_b vec_a <= vec_b -# ==, != test vector values e.g. 1,2,3 != 3,2,1 even if they are the same length -vec_a == vec_b -vec_a != vec_b - # Math can be performed on Vector classes vec_a + vec_b |