Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2015-02-10 23:25:01 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2015-02-10 23:25:01 +0300
commit59c0a1e7c8df1c44df1bd0b459e3e17c481c4e76 (patch)
tree88896060524598f57ea691523726ba47c3a7ab07 /doc/python_api/examples
parentbb08502cf40613778ae880db88e8772dc63fe581 (diff)
Typo fix + clarification in mathutils.Vector example
Diffstat (limited to 'doc/python_api/examples')
-rw-r--r--doc/python_api/examples/mathutils.Vector.py10
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