(self)
| 69 | |
| 70 | |
| 71 | def __str__(self): |
| 72 | return (f"{self.name} | {self.face_count} faces | " + |
| 73 | f"Shading {'smooth' if self.shade_smooth else 'flat'} | " + |
| 74 | f"Texture: {self.hastexture} | Normal Map: {self.hasnormal_map} | " + |
| 75 | f"Shadow: {self.shadow} | Culling:{self.culling} | " + |
| 76 | f"Center: {self.center[0]:.3f} {self.center[1]:.3f} {self.center[2]:.3f} " + |
| 77 | f"Rotation {self.x_r:.3f} {self.y_r:.3f} {self.z_r:.3f}") |
| 78 | |
| 79 | |
| 80 | def load_obj(self, file:str, dir:str=None): |
nothing calls this directly
no outgoing calls
no test coverage detected