B2ContactPolygon.go
(fixtureA *B2Fixture, indexA int, fixtureB *B2Fixture, indexB int)
| 13 | /////////////////////////////////////////////////////////////////////////////// |
| 14 | |
| 15 | func B2PolygonContact_Create(fixtureA *B2Fixture, indexA int, fixtureB *B2Fixture, indexB int) B2ContactInterface { |
| 16 | B2Assert(fixtureA.GetType() == B2Shape_Type.E_polygon) |
| 17 | B2Assert(fixtureB.GetType() == B2Shape_Type.E_polygon) |
| 18 | res := &B2PolygonContact{ |
| 19 | B2Contact: MakeB2Contact(fixtureA, 0, fixtureB, 0), |
| 20 | } |
| 21 | |
| 22 | return res |
| 23 | } |
| 24 | |
| 25 | func B2PolygonContact_Destroy(contact B2ContactInterface) { // should be a pointer |
| 26 | } |
nothing calls this directly
no test coverage detected