raster

package
v0.0.0-...-e416b65 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2017 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Black  = color.RGBA{0, 0, 0, 255}
	Yellow = color.RGBA{255, 255, 0, 255}
	Green  = color.RGBA{0, 255, 0, 255}
	Pink   = color.RGBA{255, 20, 147, 255}
)

Functions

func PinkX

func PinkX(n int) color.RGBA

func Rasterize

func Rasterize(m Mesh, n int) volume.Space16

Types

type Mesh

type Mesh struct {
	g3.Grid
	Triangle []triangle.Triangle
}

func STLToMesh

func STLToMesh(n int, triangles []stl.Triangle) (m Mesh)

Jump to

Keyboard shortcuts

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