Package MeatEngine :: Package RayTrace :: Module light
[hide private]
[frames] | no frames]

Source Code for Module MeatEngine.RayTrace.light

 1  import MeatEngine.Math.vector 
 2   
3 -class DirectionalLight:
4 - def __init__(self, lightDir, color):
5 self.dir=lightDir 6 self.color=color
7
8 -class PointLight:
9 - def __init__(self, lightPos, color):
10 self.pos=lightPos 11 self.color=color
12