示例#1
0
 public unsafe Rolling(Interactor i, Surface s)
 {
     if (!i.isAttached())
     {
         throw new NoResonatorsAttachedException("Interactor has no Resonator attached");
     }
     else
     {
         roll    = SDTRolling_new();
         surface = s;
         inter   = i;
     }
 }
示例#2
0
 private unsafe static extern double SDTRolling_dsp(SDTRolling *x, double input);
示例#3
0
 private unsafe static extern void SDTRolling_setVelocity(SDTRolling *x, double f);
示例#4
0
 private unsafe static extern void SDTRolling_setMass(SDTRolling *x, double f);
示例#5
0
 private unsafe static extern void SDTRolling_free(SDTRolling *x);