# HG changeset patch # User Sascha L. Teichmann # Date 1708460867 -3600 # Node ID 83d8d11a069d0db9061ed444a22e6a7ef3e56d85 # Parent d5cafd49bed8234d658024ead969a711bc5220bf Add missing doc string diff -r d5cafd49bed8 -r 83d8d11a069d pkg/mesh/meshserialize_v2.go --- a/pkg/mesh/meshserialize_v2.go Tue Feb 20 21:25:08 2024 +0100 +++ b/pkg/mesh/meshserialize_v2.go Tue Feb 20 21:27:47 2024 +0100 @@ -24,6 +24,7 @@ "gemma.intevation.de/gemma/pkg/common" ) +// QuantScale is the after point scale of the quantization of X/Y data. const QuantScale = 1_000 func quant(x float64) int64 { return int64(math.Round(x * QuantScale)) }