12 lines
169 B
Python
12 lines
169 B
Python
|
#-*- coding: UTF-8 -*-
|
||
|
|
||
|
"""
|
||
|
Some fancy helper functions.
|
||
|
"""
|
||
|
|
||
|
|
||
|
def vec2tuple(x):
|
||
|
"""
|
||
|
Converts a VECTOR3D to a Tuple
|
||
|
"""
|
||
|
return (x.x, x.y, x.z)
|