diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2013-06-09 07:47:52 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-11 09:43:07 -0400 |
commit | 9066c8bad606ac31382016a1758d029ca334916a (patch) | |
tree | 177689b1cda375911fb80ad9b439eaa4f6d49eaf /dive.h | |
parent | 72d0030509c4a335c263bed0151cf5366cf807ac (diff) | |
download | subsurface-9066c8bad606ac31382016a1758d029ca334916a.tar.gz |
Visibility scaling for UDDF import
Visibility is defined in meters in UDDF and we use scale up to 5 stars.
Thus the meters are scaled to our star rating using one-size-fits all
method.
< 1m => 1 star
<= 3m => 2 star
<= 5m => 3 star
<= 10m => 4 star
> 10m => 5 star
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions