diff options
| author | Raymond Hogenson <rayhogenson@openmailbox.org> | 2016-10-16 14:35:05 -0400 |
|---|---|---|
| committer | Raymond Hogenson <rayhogenson@openmailbox.org> | 2016-10-16 14:35:05 -0400 |
| commit | e717c90bbdc3089f64c943afb98f44df031cab18 (patch) | |
| tree | 08fd5da428853f4571a0ab9ac2d7628c249551af /fish_show.py | |
| parent | b606a27d7ce7e91250c0c8795270bb1862e15e26 (diff) | |
| download | bridge-e717c90bbdc3089f64c943afb98f44df031cab18.tar.zst | |
Improve eel movement
Diffstat (limited to 'fish_show.py')
| -rw-r--r-- | fish_show.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_show.py b/fish_show.py index 62a07c9..cb80d55 100644 --- a/fish_show.py +++ b/fish_show.py @@ -51,7 +51,7 @@ def compute_coverage(fish, x, y): min_y = min(max(y, fish.y), y + 1) max_y = max(min(y+1, fish.y + fish.height), y) coverage = (max_x - min_x) * (max_y - min_y) - return coverage * scale + return coverage * scale * fish.alpha_at(x, y) def pick_HSV(depth): |
