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

Function NewB2Fixture

DynamicsB2Fixture.go:104–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104func NewB2Fixture() *B2Fixture {
105 return &B2Fixture{
106 M_next: nil,
107 M_body: nil,
108 M_filter: MakeB2Filter(),
109 }
110}
111
112func (fix B2Fixture) GetType() uint8 {
113 return fix.M_shape.GetType()

Callers 1

CreateFixtureFromDefMethod · 0.85

Calls 1

MakeB2FilterFunction · 0.85

Tested by

no test coverage detected