Documentation ¶
Index ¶
- func AndINT(x, y int) int
- func NormalizeRange(f float64, max int, limitMin bool) int
- func OrINT(x, y int) int
- func RandomInt(min, max int) int
- func ReadImage(fname string) (image.Image, error)
- func Round(v float64) float64
- func RoundPlaces(v float64, places int) float64
- func SuffleSlice(data []interface{}) []interface{}
- func XorINT(x, y int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeRange ¶
NormalizeRange - Normalizing range.
func ReadImage ¶
ReadImage - wrapper function for reading png/jpeg/jpg or bmp images
It can determine type of image and use proper decoder for it
func RoundPlaces ¶
RoundPlaces Round float64 to N decimal places
func SuffleSlice ¶
func SuffleSlice(data []interface{}) []interface{}
SuffleSlice - Shuffle a slice in random way.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.