Documentation ¶
Index ¶
- Variables
- type BasePicture
- type Normal
- type Normal64
- type Normal64Map
- func (n Normal64Map) At(x, y int) color.Color
- func (n Normal64Map) ColorModel() color.Model
- func (n Normal64Map) Normal64At(x, y int) Normal64
- func (n Normal64Map) NormalAt(x, y int) Normal
- func (n Normal64Map) Opaque() bool
- func (n Normal64Map) Set(x, y int, c color.Color)
- func (n Normal64Map) SetNormal(x, y int, c Normal)
- func (n Normal64Map) SetNormal64(x, y int, c Normal64)
- type NormalMap
- func (n NormalMap) At(x, y int) color.Color
- func (n NormalMap) ColorModel() color.Model
- func (n NormalMap) Normal64At(x, y int) Normal64
- func (n NormalMap) NormalAt(x, y int) Normal
- func (n NormalMap) Opaque() bool
- func (n NormalMap) Set(x, y int, c color.Color)
- func (n NormalMap) SetNormal(x, y int, c Normal)
- func (n NormalMap) SetNormal64(x, y int, c Normal64)
Constants ¶
This section is empty.
Variables ¶
View Source
var Normal64Model = color.ModelFunc(normal64Model)
View Source
var NormalModel = color.ModelFunc(normalModel)
Functions ¶
This section is empty.
Types ¶
type BasePicture ¶
func NewBasePicture ¶
func NewBasePicture(r image.Rectangle) BasePicture
func (*BasePicture) Bounds ¶
func (b *BasePicture) Bounds() image.Rectangle
func (*BasePicture) PixOffset ¶
func (b *BasePicture) PixOffset(x, y int) int
type Normal64Map ¶
type Normal64Map struct { BasePicture Normals []float64 }
func NewNormal64Map ¶
func NewNormal64Map(r image.Rectangle) *Normal64Map
func (Normal64Map) ColorModel ¶
func (n Normal64Map) ColorModel() color.Model
func (Normal64Map) Normal64At ¶
func (n Normal64Map) Normal64At(x, y int) Normal64
func (Normal64Map) NormalAt ¶
func (n Normal64Map) NormalAt(x, y int) Normal
func (Normal64Map) Opaque ¶
func (n Normal64Map) Opaque() bool
func (Normal64Map) SetNormal ¶
func (n Normal64Map) SetNormal(x, y int, c Normal)
func (Normal64Map) SetNormal64 ¶
func (n Normal64Map) SetNormal64(x, y int, c Normal64)
type NormalMap ¶
type NormalMap struct { BasePicture Normals []float32 }
func NewNormalMap ¶
func (NormalMap) ColorModel ¶
func (NormalMap) Normal64At ¶
func (NormalMap) SetNormal64 ¶
Directories ¶
Path | Synopsis |
---|---|
An Image Copy algorithm.
|
An Image Copy algorithm. |
A Component for working with Diffuse maps aka.
|
A Component for working with Diffuse maps aka. |
A Component for working with Normal-Maps.
|
A Component for working with Normal-Maps. |
Math for working with normals.
|
Math for working with normals. |
Click to show internal directories.
Click to hide internal directories.