MCPcopy
hub / github.com/EngoEngine/engo / IdentityMatrix

Function IdentityMatrix

math.go:381–383  ·  view source on GitHub ↗

IdentityMatrix returns a new identity matrix.

()

Source from the content-addressed store, hash-verified

379
380// IdentityMatrix returns a new identity matrix.
381func IdentityMatrix() *Matrix {
382 return new(Matrix).Identity()
383}
384
385// DotProduct returns the dot product between this and that
386func DotProduct(this, that Point) float32 {

Callers 13

SetupMethod · 0.92
SetupMethod · 0.92
TestMatrixSetFunction · 0.85
TestMatrixMultiplyFunction · 0.85
TestMatrixTranslateFunction · 0.85
TestMatrixTranslatePointFunction · 0.85
TestMatrixScaleFunction · 0.85
TestMatrixScaleComponentFunction · 0.85
TestMatrixRotateFunction · 0.85
TestMultiplyMatrixPointFunction · 0.85

Calls 1

IdentityMethod · 0.80

Tested by 11

TestMatrixSetFunction · 0.68
TestMatrixMultiplyFunction · 0.68
TestMatrixTranslateFunction · 0.68
TestMatrixTranslatePointFunction · 0.68
TestMatrixScaleFunction · 0.68
TestMatrixScaleComponentFunction · 0.68
TestMatrixRotateFunction · 0.68
TestMultiplyMatrixPointFunction · 0.68
TestMultipleMatrixVectorFunction · 0.68