Fix bug in flame wall damages, cleanup
This commit is contained in:
+1
-1
@@ -225,7 +225,7 @@ heron x y z
|
||||
area = sqrt (s * (s - a) * (s - b) * (s - c))
|
||||
in 2 * area / a
|
||||
|
||||
-- | Multiplies reflection in normal by factor.
|
||||
-- | Multiplies reflection in normal by factor. With 0 same as reflectAngle
|
||||
reflectInParam :: Float -> Point2 -> Point2 -> Point2
|
||||
reflectInParam x line vec =
|
||||
let angle = 2 * angleBetween line vec
|
||||
|
||||
Reference in New Issue
Block a user