Home | History | Annotate | Download | only in demos

Lines Matching defs:Constant

97 class Constant : public Variable
101 Constant(double dInitValue) : Variable(dInitValue) {}
437 // Variable force "Force" + optional "AttackFactor" constant, on a OIS::ConstantEffect
499 // * Full support for constant force under WinXPSP2DX9 and Linux 2.6.22.9
520 // 1) Constant force on 1 axis with 20s-period triangle oscillations in [-10K, +10K].
526 pEffect = new Effect(Effect::ConstantForce, Effect::Constant);
546 mapVars["AttackFactor"] = new Constant(1.0);
550 ("Constant force on 1 axis with 20s-period triangle oscillations "
554 // 2) Constant force on 1 axis with noticeable attack
560 pEffect = new Effect(Effect::ConstantForce, Effect::Constant);
580 mapVars["AttackFactor"] = new Constant(0.1);
584 ("Constant force on 1 axis with noticeable attack (app update period / 2)"
589 // of its period in [10, 400] ms, and constant amplitude
620 "of its period in [10, 400] ms, and constant amplitude",
741 //This causes constant exceptions with my device. Not needed for anything other than debugging