Versions in this module Expand all Collapse all v0 v0.0.1 Jun 24, 2021 Changes in this version + func ViewMatrix(pos, lookAt, up math.Vector) math.Matrix + type Interface interface + Position func() math.Vector + ProjMatrix func() math.Matrix + ViewMatrix func() math.Matrix + func NewOrthographic(pos, lookAt, up math.Vector, left, right, bottom, top, near, far float64) Interface + func NewPerspective(pos, lookAt, up math.Vector, fov, aspect, near, far float64) Interface + type Orthographic struct + func (c *Orthographic) Position() math.Vector + func (c *Orthographic) ProjMatrix() math.Matrix + func (c *Orthographic) Type() object.Type + func (c *Orthographic) ViewMatrix() math.Matrix + type Perspective struct + func (c *Perspective) Position() math.Vector + func (c *Perspective) ProjMatrix() math.Matrix + func (c *Perspective) Type() object.Type + func (c *Perspective) ViewMatrix() math.Matrix