Versions in this module Expand all Collapse all v1 v1.3.1 Dec 16, 2013 Changes in this version + type M3 struct + X0 float32 + X1 float32 + X2 float32 + Y0 float32 + Y1 float32 + Y2 float32 + Z0 float32 + Z1 float32 + Z2 float32 + func (m *M3) M3(m4 *M4) *M3 + func (m *M3) Pointer() *float32 + type M4 struct + W0 float32 + W1 float32 + W2 float32 + W3 float32 + X0 float32 + X1 float32 + X2 float32 + X3 float32 + Y0 float32 + Y1 float32 + Y2 float32 + Y3 float32 + Z0 float32 + Z1 float32 + Z2 float32 + Z3 float32 + func (m *M4) Pointer() *float32 + type V3 struct + X float32 + Y float32 + Z float32 + type Vis struct + Alpha float32 + Fade float32 + Glyph *data.Glyphs + GlyphName string + GlyphPrev string + GlyphText string + GlyphWidth int + Is2D bool + L *Light + Mat *data.Material + MatName string + Mesh *data.Mesh + MeshName string + Mv *M4 + Mvp *M4 + RotSpeed float32 + Scale *V3 + Shader *data.Shader + ShaderName string + Tex *data.Texture + TexName string + func NewVis() *Vis v1.2.2 Sep 5, 2013 Changes in this version + const BLEND + const CULL + const DEPTH + func CreateShader(shaderName string) *data.Shader + type Light struct + Ld data.Rgb + X float32 + Y float32 + Z float32 + type Renderer interface + BindGlyphs func(mesh *data.Mesh) (err error) + BindModel func(mesh *data.Mesh) (err error) + BindShader func(shader *data.Shader) (programRef uint32, err error) + BindTexture func(texture *data.Texture) (err error) + Clear func() + Color func(r, g, b, a float32) + Enable func(attribute int, enable bool) + Init func() (err error) + MapTexture func(tid int, t *data.Texture) + Render func(v *Visible) + Viewport func(width int, height int) + func New() Renderer + type Visible struct + Fade float32 + L *Light + Mat *data.Material + Mesh *data.Mesh + Mv *lin.M4 + Mvp *lin.M4 + RotSpeed float32 + Scale float32 + Shader *data.Shader + Texture *data.Texture