worker

package
v0.0.0-...-dc413cb Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TileUp    = "up"
	TileDown  = "down"
	TileFront = "front"
	TileRight = "right"
	TileBack  = "back"
	TileLeft  = "left"
)

Variables

This section is empty.

Functions

func Worker

func Worker(tile Tile, mathCache cache.CacheAngles, originalImagePath string, done chan TileResult)

Types

type Pixel

type Pixel struct {
	R int
	G int
	B int
	A int
}

Pixel struct

type Tile

type Tile struct {
	TileSize int
	TileName string
}

type TileResult

type TileResult struct {
	Tile  Tile
	Image image.Image
}

Jump to

Keyboard shortcuts

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