예제 #1
0
 def generate_normals(self):
     self.normals = list(generate_normals(self.vertices, self.triangles))
     self.generate()
예제 #2
0
 def generate_normals(self, smooth=True):
     self.normals = list(
         generate_normals(self.vertices, self.triangles, smooth))
     self.generate()
     return self.normals