MCPcopy Create free account
hub / github.com/ByteArena/box2d / MakeB2Mat22FromColumns

Function MakeB2Mat22FromColumns

CommonB2Math.go:228–233  ·  view source on GitHub ↗

Construct this matrix using columns.

(c1, c2 B2Vec2)

Source from the content-addressed store, hash-verified

226
227/// Construct this matrix using columns.
228func MakeB2Mat22FromColumns(c1, c2 B2Vec2) B2Mat22 {
229 return B2Mat22{
230 Ex: c1,
231 Ey: c2,
232 }
233}
234
235func NewB2Mat22FromColumns(c1, c2 B2Vec2) *B2Mat22 {
236 res := MakeB2Mat22FromColumns(c1, c2)

Callers 5

NewB2Mat22FromColumnsFunction · 0.85
B2Mat22AddFunction · 0.85
B2Mat22MulFunction · 0.85
B2Mat22MulTFunction · 0.85
B2Mat22AbsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected