diff pkg/mesh/meshserialize_v2.go @ 5708:83d8d11a069d sr-v2

Add missing doc string
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 20 Feb 2024 21:27:47 +0100
parents 148abae1fcd0
children
line wrap: on
line diff
--- 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)) }