def transform(self, native_mesh, transformation):
     T = xform_from_transformation(transformation)
     native_mesh.Transform(T)
Example #2
0
def _to_xform(m):
    m = m if len(m) == 16 else m + [0, 0, 0, 1]
    return xform_from_transformation(Transformation.from_list(m))