package
Version:
v0.0.0-...-d3d8c0c
Opens a new window with list of versions in this module.
Published: May 8, 2017
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 77
Opens a new window with list of known importers.
Documentation
¶
Package util contains utility functions.
func Map(x, inmin, inmax, outmin, outmax int64) int64
Map re-maps a number from one range to another.
Example:
val := Map(angle, 0, 180, 1000, 2000)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.