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

Function MakeB2SimplexCache

CollisionB2Distance.go:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func MakeB2SimplexCache() B2SimplexCache {
43 return B2SimplexCache{
44 Metric: 0,
45 Count: 0,
46 IndexA: [3]int{}, ///< vertices on shape A
47 IndexB: [3]int{}, ///< vertices on shape B
48 }
49}
50
51func NewB2SimplexCache() *B2SimplexCache {
52 res := MakeB2SimplexCache()

Callers 3

NewB2SimplexCacheFunction · 0.85
B2TimeOfImpactFunction · 0.85
B2TestOverlapShapesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected