Esempio n. 1
0
 public Joint CreateJoint(JointDef def)
 {
     using (var ptr = new StructToPtrMarshaller(def))
         return(Joint.FromPtr(NativeMethods.b2world_createjoint(_worldPtr, ptr.Pointer)));
 }
Esempio n. 2
0
 void SayGoodbyeJoint(IntPtr ptr)
 {
     SayGoodbye(Joint.FromPtr(ptr));
 }