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
def getMesh(): mesh = Mesh() mesh.faces = getFaces() mesh.lines = Lines mesh.textures = loadTextures() return mesh