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

Function B2Mat22Add

CommonB2Math.go:576–581  ·  view source on GitHub ↗
(A, B B2Mat22)

Source from the content-addressed store, hash-verified

574}
575
576func B2Mat22Add(A, B B2Mat22) B2Mat22 {
577 return MakeB2Mat22FromColumns(
578 B2Vec2Add(A.Ex, B.Ex),
579 B2Vec2Add(A.Ey, B.Ey),
580 )
581}
582
583// A * B
584func B2Mat22Mul(A, B B2Mat22) B2Mat22 {

Callers

nothing calls this directly

Calls 2

MakeB2Mat22FromColumnsFunction · 0.85
B2Vec2AddFunction · 0.85

Tested by

no test coverage detected