model

package
v0.0.0-...-1050381 Latest Latest
Warning

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

Go to latest
Published: May 7, 2017 License: MIT Imports: 7 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderXYZAxes

func RenderXYZAxes()

DrawXYZAxes draws the three basic X,Y,Z axes colored red, green, and blue respectively.

Types

type Model

type Model struct {
	// Tag is a human readable string for debugging.
	// NOTE: If this field starts being used for anything but human use, something is wrong.
	Tag string

	// Hidden determines whether the model will be rendered or not. False by default.
	Hidden bool

	mesh.Mesh
	entity.Entity
}

func (*Model) Render

func (m *Model) Render()

func (*Model) RenderDebugSphere

func (m *Model) RenderDebugSphere()

RenderDebugSphere draws three circles that live in the bounding sphere of the model.

func (*Model) RenderRotationAxes

func (m *Model) RenderRotationAxes()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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