]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
src/Volumetric.hs: fix whitespace alignment of an "equals" sign.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 5 Mar 2019 00:32:51 +0000 (19:32 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 5 Mar 2019 00:32:51 +0000 (19:32 -0500)
src/Volumetric.hs

index 5b24760a256b0cbc2477ff71f12009497a79deec..64669fee1a7205f6a41d8cfa4718e4961a10ebf6 100644 (file)
@@ -70,7 +70,7 @@ bracket :: Double -> Double -> Double -> Word16
 bracket lower_threshold upper_threshold x
         | x < lower_threshold      = 0
         | x > upper_threshold      = 255
-        | otherwise                    = truncate (r * 255)
+        | otherwise                = truncate (r * 255)
             where
               numerator = x - lower_threshold
               denominator = upper_threshold - lower_threshold