Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Matrix4 ¶
type Matrix4 [16]float32
func MatrixMultiply ¶
func MatrixPerspective ¶
Construct a perspective matrix
type MatrixStack ¶
type MatrixStack struct {
// contains filtered or unexported fields
}
func NewMatrixStack ¶
func NewMatrixStack() *MatrixStack
func (*MatrixStack) Perspective ¶
func (s *MatrixStack) Perspective(fov, aspect, near, far float32)
func (*MatrixStack) Pop ¶
func (s *MatrixStack) Pop()
func (*MatrixStack) Push ¶
func (s *MatrixStack) Push()
func (*MatrixStack) Scale ¶
func (s *MatrixStack) Scale(x, y, z float32)
func (*MatrixStack) Top ¶
func (s *MatrixStack) Top() Matrix4
func (*MatrixStack) Translate ¶
func (s *MatrixStack) Translate(x, y, z float32)
Click to show internal directories.
Click to hide internal directories.