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

Function MakeB2ChainShape

CollisionB2ShapeChain.go:26–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func MakeB2ChainShape() B2ChainShape {
27 return B2ChainShape{
28 B2Shape: B2Shape{
29 M_type: B2Shape_Type.E_chain,
30 M_radius: B2_polygonRadius,
31 },
32 M_vertices: nil,
33 M_count: 0,
34 M_hasPrevVertex: false,
35 M_hasNextVertex: false,
36 }
37}
38
39///////////////////////////////////////////////////////////////////////////////
40///////////////////////////////////////////////////////////////////////////////

Callers 1

CloneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected