Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matrix3 ¶
type Matrix3 [3][3]float64
Matrix3 is a 3 dimentional matrix
func (Matrix3) Determinant ¶
Determinant returns the determinant of the matrix
func (Matrix3) IsIdentity ¶
IsIdentity checks whether the matrix is an identity matrix: [1, 0, 0
0, 1, 0 0, 0, 1]
func (Matrix3) IsScale ¶
IsScale checks whether the matrix is a scaling matrix: [x, 0, x
0, x, x 0, 0, 1]
func (Matrix3) IsTranslate ¶
IsTranslate checks whether the matrix is a translate matrix [1, 0, x
0, 1, x 0, 0, 1]
Click to show internal directories.
Click to hide internal directories.