refactor: log with zap
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package util
|
||||
|
||||
// Linear mapping between two ranges of values
|
||||
// MapRange Linear mapping between two ranges of values
|
||||
func MapRange(x, xmin, xmax, ymin, ymax float64) int {
|
||||
Xrange := xmax - xmin
|
||||
Yrange := ymax - ymin
|
||||
|
Reference in New Issue
Block a user