Tweak chase crit perception
This commit is contained in:
@@ -12,7 +12,7 @@ doFloatFloat ff x = case ff of
|
||||
FloatLessCheck y
|
||||
| x > y -> 0
|
||||
| otherwise -> 1
|
||||
FloatDistLinearMaxMin maxd a b
|
||||
FloatDistLinearNearFar maxd a b
|
||||
| x > maxd -> 0
|
||||
| otherwise -> (a * (maxd - x) + b * (x - maxd)) / maxd
|
||||
FloatAbsCheckGreaterLess a y1 y2
|
||||
|
||||
Reference in New Issue
Block a user