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