This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-24 19:19:52 +02:00

16 lines
360 B
Python

from __future__ import annotations
from .optic_material import OpticMaterial
from ..ray import Ray
from ..shade import ShadeRec
class BeamDump(OpticMaterial):
"""Material absorbing all beams that hit it"""
def __repr__(self):
return "BeamDump()"
def generated_beams(self, ray: Ray, shade: ShadeRec) -> list[Ray]:
return list()