MCPcopy Create free account
hub / github.com/ICE27182/Python-3D-renderer / load_img

Method load_img

pyrender.py:510–514  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

508 self.texture.height -= 1
509
510 def load_img(self):
511 if self.texture_path:
512 self.texture = png.Png(self.texture_path, "")
513 if self.normal_map_path:
514 self.normal_map = png.Png(self.normal_map_path, "")
515
516
517

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected