| 58 | } |
| 59 | |
| 60 | JointDef* JointDef::gear( |
| 61 | bool collision, |
| 62 | String jointA, |
| 63 | String jointB, |
| 64 | float ratio) { |
| 65 | GearDef* def = new GearDef(); |
| 66 | def->collision = collision; |
| 67 | def->jointA = jointA.toString(); |
| 68 | def->jointB = jointB.toString(); |
| 69 | def->ratio = ratio; |
| 70 | def->autorelease(); |
| 71 | return def; |
| 72 | } |
| 73 | |
| 74 | JointDef* JointDef::spring( |
| 75 | bool collision, |
nothing calls this directly
no test coverage detected