Translations:Development/Tutorials/Physical Simulation/84/en

From KDE TechBase
Revision as of 17:43, 19 July 2019 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

void BallGraph::nextAnimationFrame() {

   double time=logic->getTime();
   double position=logic->getPosition();
   xyData->addPoint(time, position);
   xyPlot->update();
   update();

}