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

Function MakeB2Transform

CommonB2Math.go:420–425  ·  view source on GitHub ↗

The default constructor does nothing.

()

Source from the content-addressed store, hash-verified

418
419/// The default constructor does nothing.
420func MakeB2Transform() B2Transform {
421 return B2Transform{
422 P: MakeB2Vec2(0, 0),
423 Q: MakeB2Rot(),
424 }
425}
426
427func NewB2Transform() *B2Transform {
428 res := MakeB2Transform()

Callers 12

MakeB2DistanceInputFunction · 0.85
InitializeMethod · 0.85
FindMinSeparationMethod · 0.85
EvaluateMethod · 0.85
B2TimeOfImpactFunction · 0.85
SynchronizeFixturesMethod · 0.85
B2CollidePolygonsFunction · 0.85
NewB2TransformFunction · 0.85

Calls 2

MakeB2Vec2Function · 0.85
MakeB2RotFunction · 0.85

Tested by

no test coverage detected