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

Function MakeB2DistanceOutput

CollisionB2Distance.go:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func MakeB2DistanceOutput() B2DistanceOutput {
91 return B2DistanceOutput{
92 PointA: MakeB2Vec2(0, 0),
93 PointB: MakeB2Vec2(0, 0),
94 Distance: 0,
95 Iterations: 0,
96 }
97}
98
99func NewB2DistanceOutput() *B2DistanceOutput {
100 res := MakeB2DistanceOutput()

Callers 3

NewB2DistanceOutputFunction · 0.85
B2TimeOfImpactFunction · 0.85
B2TestOverlapShapesFunction · 0.85

Calls 1

MakeB2Vec2Function · 0.85

Tested by

no test coverage detected