Documentation ¶
Index ¶
Constants ¶
View Source
const ( DegToRad = math.Pi / 180 RadToDeg = 180 / math.Pi )
Variables ¶
View Source
var IdentMatrix = Matrix{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}
Functions ¶
This section is empty.
Types ¶
type Matrix ¶
type Matrix [3][3]float64
func CalcRotateAndTranslateTransformMatrix ¶
CalcRotateAndTranslateTransformMatrix returns a transform matrix that rotates and translates.
func CalcRotateTransformMatrix ¶
CalcRotateTransformMatrix returns a transform matrix that rotates only.
func CalcTransformMatrix ¶
CalcTransformMatrix returns a full transform matrix.
Click to show internal directories.
Click to hide internal directories.