Пример #1
0
 def getMesh(self, model):
     model = self.getModel(model)
     mesh = Mesh()
     mesh.faces = self.getFaces(model)
     mesh.lines = model.getLines()
     mesh.textures = self.loadTextures(model)
     return mesh
Пример #2
0
def getMesh():
    mesh = Mesh()
    mesh.faces = getFaces()
    mesh.lines = Lines
    mesh.textures = loadTextures()
    return mesh