[Bf-blender-cvs] [59c0a1e] master: Typo fix + clarification in mathutils.Vector example

Sybren A. Stüvel noreply at git.blender.org
Tue Feb 10 21:25:24 CET 2015


Commit: 59c0a1e7c8df1c44df1bd0b459e3e17c481c4e76
Author: Sybren A. Stüvel
Date:   Tue Feb 10 21:25:01 2015 +0100
Branches: master
https://developer.blender.org/rB59c0a1e7c8df1c44df1bd0b459e3e17c481c4e76

Typo fix + clarification in mathutils.Vector example

===================================================================

M	doc/python_api/examples/mathutils.Vector.py

===================================================================

diff --git a/doc/python_api/examples/mathutils.Vector.py b/doc/python_api/examples/mathutils.Vector.py
index 14b8829..3f79fde 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




More information about the Bf-blender-cvs mailing list