util

package
Version: v0.0.0-...-d3d8c0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2017 License: MIT Imports: 0 Imported by: 57

Documentation

Overview

Package util contains utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

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)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL