mat

package
v0.0.0-...-eb6d389 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2016 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PopError = errors.New("Attempted to Pop an empty stack")

Functions

This section is empty.

Types

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func NewStack

func NewStack() *Stack

func (*Stack) AngleDeg

func (s *Stack) AngleDeg() *Stack

func (*Stack) AngleFactor

func (s *Stack) AngleFactor(a float32) *Stack

func (*Stack) AngleRad

func (s *Stack) AngleRad() *Stack

func (*Stack) AutoMultiply

func (s *Stack) AutoMultiply(mul bool) *Stack

func (*Stack) Copy

func (s *Stack) Copy()

func (*Stack) Ident

func (s *Stack) Ident()

func (*Stack) Multiply

func (s *Stack) Multiply() *Stack

func (*Stack) Peek

func (s *Stack) Peek() mgl32.Mat4

func (*Stack) Pop

func (s *Stack) Pop() mgl32.Mat4

func (*Stack) Ptr

func (s *Stack) Ptr() *mgl32.Mat4

func (*Stack) Push

func (s *Stack) Push(m mgl32.Mat4)

func (*Stack) RotateX

func (s *Stack) RotateX(a float32) *Stack

func (*Stack) RotateY

func (s *Stack) RotateY(a float32) *Stack

func (*Stack) RotateZ

func (s *Stack) RotateZ(a float32) *Stack

func (*Stack) Safe

func (s *Stack) Safe(f func(*Stack))

func (*Stack) Scale

func (s *Stack) Scale(x, y, z float32) *Stack

func (*Stack) ScaleV

func (s *Stack) ScaleV(v mgl32.Vec3) *Stack

func (*Stack) Swap

func (s *Stack) Swap() *Stack

func (*Stack) Translate

func (s *Stack) Translate(x, y, z float32) *Stack

func (*Stack) TranslateV

func (s *Stack) TranslateV(v mgl32.Vec3) *Stack

Jump to

Keyboard shortcuts

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