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

Method Add

DynamicsB2Island.go:46–50  ·  view source on GitHub ↗
(joint B2JointInterface)

Source from the content-addressed store, hash-verified

44}
45
46func (island *B2Island) Add(joint B2JointInterface) { // joint has to be a pointer
47 B2Assert(island.M_jointCount < island.M_jointCapacity)
48 island.M_joints[island.M_jointCount] = joint
49 island.M_jointCount++
50}
51
52///////////////////////////////////////////////////////////////////////////////
53///////////////////////////////////////////////////////////////////////////////

Callers 1

SolveMethod · 0.80

Calls 1

B2AssertFunction · 0.85

Tested by

no test coverage detected