worker

package
v0.0.0-...-5321ed2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TileUp    = "0"
	TileDown  = "5"
	TileFront = "1"
	TileRight = "2"
	TileBack  = "3"
	TileLeft  = "4"
)

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 uint32
	G uint32
	B uint32
	A uint32
}

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