assimp/port/PyAssimp/pyassimp/helper.py

12 lines
169 B
Python
Raw Normal View History

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