Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interface ¶
type Interface interface {
object.Object
Position() math.Vector
ViewMatrix() math.Matrix
ProjMatrix() math.Matrix
}
func NewOrthographic ¶
type Orthographic ¶
type Orthographic struct {
math.TransformContext
// contains filtered or unexported fields
}
func (*Orthographic) Position ¶
func (c *Orthographic) Position() math.Vector
func (*Orthographic) ProjMatrix ¶
func (c *Orthographic) ProjMatrix() math.Matrix
func (*Orthographic) Type ¶
func (c *Orthographic) Type() object.Type
func (*Orthographic) ViewMatrix ¶
func (c *Orthographic) ViewMatrix() math.Matrix
type Perspective ¶
type Perspective struct {
math.TransformContext
// contains filtered or unexported fields
}
func (*Perspective) Position ¶
func (c *Perspective) Position() math.Vector
func (*Perspective) ProjMatrix ¶
func (c *Perspective) ProjMatrix() math.Matrix
func (*Perspective) Type ¶
func (c *Perspective) Type() object.Type
func (*Perspective) ViewMatrix ¶
func (c *Perspective) ViewMatrix() math.Matrix
Click to show internal directories.
Click to hide internal directories.