layer

package
v0.0.0-...-6d04bbe Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2015 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

package name

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dims

type Dims struct {
	Width  int
	Height int
	Depth  int
}

type Layers

type Layers struct {
	// contains filtered or unexported fields
}

layers object

func NewLayers

func NewLayers(dims Dims, s float32) *Layers

func (*Layers) Add_line

func (self *Layers) Add_line(pp1, pp2 *mymath.Point, r, g float32)

func (*Layers) Hit_line

func (self *Layers) Hit_line(pp1, pp2 *mymath.Point, r, g float32) bool

func (*Layers) Init

func (self *Layers) Init(dm Dims, s float32) *Layers

func (*Layers) Sub_line

func (self *Layers) Sub_line(pp1, pp2 *mymath.Point, r, g float32)

Jump to

Keyboard shortcuts

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