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

Method __str__

pyrender.py:585–588  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

583
584
585 def __str__(self):
586 return (
587 f"{Light.types_lookup[self.type]:8} | Position: {self.x:.3f} {self.y:.3f}, {self.z:.3f}"
588 )
589
590
591 def render_shadow(lights, objs) -> tuple:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected