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; } }
private unsafe static extern double SDTRolling_dsp(SDTRolling *x, double input);
private unsafe static extern void SDTRolling_setVelocity(SDTRolling *x, double f);
private unsafe static extern void SDTRolling_setMass(SDTRolling *x, double f);
private unsafe static extern void SDTRolling_free(SDTRolling *x);