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

Function MakeB2SimplexVertex

CollisionB2Distance.go:216–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214}
215
216func MakeB2SimplexVertex() B2SimplexVertex {
217 return B2SimplexVertex{
218 WA: MakeB2Vec2(0, 0),
219 WB: MakeB2Vec2(0, 0),
220 W: MakeB2Vec2(0, 0),
221 A: 0,
222 IndexA: 0,
223 IndexB: 0,
224 }
225}
226
227func NewB2SimplexVertex() *B2SimplexVertex {
228 res := MakeB2SimplexVertex()

Callers 2

NewB2SimplexVertexFunction · 0.85
MakeB2SimplexFunction · 0.85

Calls 1

MakeB2Vec2Function · 0.85

Tested by

no test coverage detected