Documentation ¶
Index ¶
- Variables
- type Stack
- func (s *Stack) AngleDeg() *Stack
- func (s *Stack) AngleFactor(a float32) *Stack
- func (s *Stack) AngleRad() *Stack
- func (s *Stack) AutoMultiply(mul bool) *Stack
- func (s *Stack) Copy()
- func (s *Stack) Ident()
- func (s *Stack) Multiply() *Stack
- func (s *Stack) Peek() mgl32.Mat4
- func (s *Stack) Pop() mgl32.Mat4
- func (s *Stack) Ptr() *mgl32.Mat4
- func (s *Stack) Push(m mgl32.Mat4)
- func (s *Stack) RotateX(a float32) *Stack
- func (s *Stack) RotateY(a float32) *Stack
- func (s *Stack) RotateZ(a float32) *Stack
- func (s *Stack) Safe(f func(*Stack))
- func (s *Stack) Scale(x, y, z float32) *Stack
- func (s *Stack) ScaleV(v mgl32.Vec3) *Stack
- func (s *Stack) Swap() *Stack
- func (s *Stack) Translate(x, y, z float32) *Stack
- func (s *Stack) TranslateV(v mgl32.Vec3) *Stack
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 (*Stack) AngleFactor ¶
func (*Stack) AutoMultiply ¶
Click to show internal directories.
Click to hide internal directories.