add representation for Source object

This commit is contained in:
Pim Nelissen
2026-01-27 19:46:03 +01:00
parent c6c92e8f0d
commit 8d8826a649

View File

@ -36,3 +36,6 @@ class Source(Object):
self.strength = strength self.strength = strength
self.color = color self.color = color
def __repr__(self):
return f"Source(name={self.name}, strength={self.strength}, pos={(self.x, self.y, self.z)})"