Documentation ¶ Index ¶ type Mat4 func NewIdentity() Mat4 func NewScale(x, y, z float32) Mat4 func NewTranslate(x, y, z float32) Mat4 func (m Mat4) Mul(b Mat4) Mat4 func (m Mat4) ScaleAniso(x, y, z float32) Mat4 type Vec4 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Mat4 ¶ type Mat4 [4]Vec4 func NewIdentity ¶ func NewIdentity() Mat4 func NewScale ¶ func NewScale(x, y, z float32) Mat4 func NewTranslate ¶ func NewTranslate(x, y, z float32) Mat4 func (Mat4) Mul ¶ func (m Mat4) Mul(b Mat4) Mat4 func (Mat4) ScaleAniso ¶ func (m Mat4) ScaleAniso(x, y, z float32) Mat4 type Vec4 ¶ type Vec4 [4]float32 Source Files ¶ View all Source files linmath.go Click to show internal directories. Click to hide internal directories.