Esempio n. 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;
     }
 }
Esempio n. 2
0
 private unsafe static extern double SDTRolling_dsp(SDTRolling *x, double input);
Esempio n. 3
0
 private unsafe static extern void SDTRolling_setVelocity(SDTRolling *x, double f);
Esempio n. 4
0
 private unsafe static extern void SDTRolling_setMass(SDTRolling *x, double f);
Esempio n. 5
0
 private unsafe static extern void SDTRolling_free(SDTRolling *x);