Documentation
¶
Overview ¶
Package mat2 provides GPU operations on 2x2 matrices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Determinant ¶
func Determinant(a ColumnMajor) gpu.Float
Types ¶
type ColumnMajor ¶
func ComponentMul ¶
func ComponentMul(a, b ColumnMajor) ColumnMajor
func Inverse ¶
func Inverse(a ColumnMajor) ColumnMajor
func Mul ¶
func Mul(a, b ColumnMajor) ColumnMajor
func OuterProduct ¶
func OuterProduct(a, b gpu.Vec2) ColumnMajor
func Transpose ¶
func Transpose(a ColumnMajor) ColumnMajor
Click to show internal directories.
Click to hide internal directories.