Documentation
¶
Index ¶
- type Body
- type Dynamic
- type Globals
- type Heading
- type Light
- type Lights
- type Line
- type Mesh
- func (m *Mesh) Draw(g Globals)
- func (m *Mesh) DrawTriangles()
- func (m *Mesh) Inspect() Summary
- func (m *Mesh) Realize(cleanup func(func())) error
- func (m *Mesh) Setup(g Globals)
- func (m *Mesh) Teardown()
- func (m *Mesh) Tick(delta, runtime time.Duration) bool
- func (m *Mesh) With(x ...Transform) Model
- type MeshBinder
- type MeshOptions
- type Model
- type Movement
- type Orientation
- type Position
- type Skybox
- type Static
- type Summary
- type Text
- type Transform
- type Wireframe
- type World
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dynamic ¶ added in v0.0.2
type Dynamic shape.DynamicTransform
type Heading ¶
func (*Heading) Orientation ¶
func (h *Heading) Orientation() *Orientation
type Line ¶ added in v0.0.2
type Line struct {
// contains filtered or unexported fields
}
func NewLineIndexed ¶ added in v0.0.2
type Mesh ¶
type Mesh struct {
// contains filtered or unexported fields
}
func Illuminati ¶
func Illuminati() *Mesh
func NewShape ¶
func NewShape(desc string, shape manifold.Polyhedron, fnorm func(manifold.Polyhedron) mesh.Normalizer, fcolor func(manifold.Polyhedron) mesh.Colorizer) *Mesh
func (*Mesh) DrawTriangles ¶
func (m *Mesh) DrawTriangles()
type MeshBinder ¶
type MeshBinder func(position, normal, color glu.VertexAttrib) (vao glu.VertexArray, err error)
type MeshOptions ¶
type Orientation ¶
type Summary ¶
type Text ¶
Click to show internal directories.
Click to hide internal directories.