Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdjNodes26 = adjNodes26()
AdjNodes26 is the list of all 26 adjacent nodes of ZeroNode.
View Source
var AdjNodes6 = []Node{
{0, 0, -1},
{0, 0, 1},
{0, -1, 0},
{0, 1, 0},
{-1, 0, 0},
{1, 0, 0},
}
View Source
var ZeroNode = Node{0, 0, 0}
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node [3]int
Node is a point in 3d space with integer coordinates. It also might be a node in a Grid.
type ScalarField ¶
ScalarField is a function that returns a value for every given point in 3d space.
type Triangle ¶
type Triangle [3]Point
Triangle is a triangle in 3d space with a normal defined by the order of vertices. See http://www.opengl.org/wiki/Calculating_a_Surface_Normal
Click to show internal directories.
Click to hide internal directories.