Vec3 is a 3-element tuple that supports many math operations.
More...
|
def | __new__ (cls, x, y, z) |
| Create a new Vec3. More...
|
|
def | __getnewargs__ (self) |
|
def | __add__ (self, other) |
| Add two Vec3s. More...
|
|
def | __radd__ (self, other) |
| Add two Vec3s. More...
|
|
def | __sub__ (self, other) |
| Add two Vec3s. More...
|
|
def | __rsub__ (self, other) |
| Add two Vec3s. More...
|
|
def | __mul__ (self, other) |
| Multiply a Vec3 by a constant. More...
|
|
def | __rmul__ (self, other) |
| Multiply a Vec3 by a constant. More...
|
|
def | __div__ (self, other) |
| Divide a Vec3 by a constant. More...
|
|
def | __deepcopy__ (self, memo) |
|
Vec3 is a 3-element tuple that supports many math operations.
def __add__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
def __deepcopy__ |
( |
|
self, |
|
|
|
memo |
|
) |
| |
def __div__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Divide a Vec3 by a constant.
def __getnewargs__ |
( |
|
self | ) |
|
def __mul__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Multiply a Vec3 by a constant.
def __new__ |
( |
|
cls, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
def __radd__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
def __rmul__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Multiply a Vec3 by a constant.
def __rsub__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
def __sub__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
The documentation for this class was generated from the following file: