Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type B ¶
type B struct {
U, V float64
}
B is a barycentric coordinate
func (B) AssertEqual ¶
AssertEqual fulfils geomtest.AssertEqualizer
type BIterator ¶
type BIterator struct { // Origin and U are the indexes to use, V is computed from these. Origin, U int Step [2]B Cur B // Reset is the point to reset to after one "line scan" completes Reset B Idx int }
BIterator iterates over points inside a triangle. A single iterator can be used to map between multiple triangles.
Click to show internal directories.
Click to hide internal directories.