Various performance improvements
This commit is contained in:
@@ -42,10 +42,10 @@ tLight
|
||||
:: Int
|
||||
-> Float -- ^ maximal radius
|
||||
-> Point3
|
||||
-> Point2
|
||||
-> Point3
|
||||
-> TempLightSource
|
||||
tLight t rmax col (V2 x y) = TLS
|
||||
{ _tlsPos = V3 x y 1
|
||||
tLight t rmax col (V3 x y z) = TLS
|
||||
{ _tlsPos = V3 x y z
|
||||
, _tlsRad = rmax
|
||||
, _tlsIntensity = col
|
||||
, _tlsUpdate = upF
|
||||
|
||||
Reference in New Issue
Block a user