Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -1492,6 +1492,8 @@ void Application::idle() { · 1491 unmodified lines | ||
| 1492 | 1492 | _idleLoopMeasuredJitter = _idleLoopStdev.getStDev(); |
| 1493 | 1493 | _idleLoopStdev.reset(); |
| 1494 | 1494 | } |
| 1495 | + | |
| 1496 | + _buckyBalls.simulate(timeSinceLastUpdate / 1000.f, Application::getInstance()->getAvatar()->getHandData()); | |
| 1495 | 1497 | |
| 1496 | 1498 | // After finishing all of the above work, restart the idle timer, allowing 2ms to process events. |
| 1497 | 1499 | idleTimer->start(2); |
| @@ -2809,6 +2811,8 @@ void Application::displaySide(Camera& whichCamera, bool selfAvatarOnly) { · 1311 unmodified lines | ||
| 2809 | 2811 | "Application::displaySide() ... metavoxels..."); |
| 2810 | 2812 | _metavoxels.render(); |
| 2811 | 2813 | } |
| 2814 | + | |
| 2815 | + _buckyBalls.render(); | |
| 2812 | 2816 | |
| 2813 | 2817 | // render particles... |
| 2814 | 2818 | _particles.render(); |