Home | Trees | Index | Help |
|
---|
Module Mathutils :: Class Vector |
|
Method Summary | |
---|---|
Vector object. |
Create a new Vector object from a list. |
Set all values to their negative. | |
Normalize the vector. | |
Resize the vector to 2d. | |
Resize the vector to 3d. | |
Resize the vector to 4d. | |
Set all values to zero. |
Class Variable Summary | |
---|---|
length : The magnitude of the vector. | |
w : The w value (if any). | |
x : The x value. | |
y : The y value. | |
z : The z value (if any). |
Method Details |
---|
__init__(list=None)
|
negate()Set all values to their negative. |
normalize()Normalize the vector. |
resize2D()Resize the vector to 2d. |
resize3D()Resize the vector to 3d. |
resize4D()Resize the vector to 4d. |
zero()Set all values to zero. |
Class Variable Details |
---|
lengthThe magnitude of the vector. |
wThe w value (if any). |
xThe x value. |
yThe y value. |
zThe z value (if any). |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jun 13 15:31:23 2005 | http://epydoc.sf.net |