Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -2221,11 +2221,11 @@ void Application::updateLeap(float deltaTime) { · 2220 unmodified lines | ||
| 2221 | 2221 | LeapManager::nextFrame(); |
| 2222 | 2222 | } |
| 2223 | 2223 | |
| 2224 | −void Application::updateSixense() { | |
| 2224 | +void Application::updateSixense(float deltaTime) { | |
| 2225 | 2225 | bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings); |
| 2226 | 2226 | PerformanceWarning warn(showWarnings, "Application::updateSixense()"); |
| 2227 | 2227 | |
| 2228 | − _sixenseManager.update(); | |
| 2228 | + _sixenseManager.update(deltaTime); | |
| 2229 | 2229 | } |
| 2230 | 2230 | |
| 2231 | 2231 | void Application::updateSerialDevices(float deltaTime) { |
| @@ -2435,7 +2435,7 @@ void Application::update(float deltaTime) { · 203 unmodified lines | ||
| 2435 | 2435 | updateMouseVoxels(deltaTime, mouseRayOrigin, mouseRayDirection, distance, face); // UI/UX related to voxels |
| 2436 | 2436 | updateHandAndTouch(deltaTime); // Update state for touch sensors |
| 2437 | 2437 | updateLeap(deltaTime); // Leap finger-sensing device |
| 2438 | − updateSixense(); // Razer Hydra controllers | |
| 2438 | + updateSixense(deltaTime); // Razer Hydra controllers | |
| 2439 | 2439 | updateSerialDevices(deltaTime); // Read serial port interface devices |
| 2440 | 2440 | updateAvatar(deltaTime); // Sample hardware, update view frustum if needed, and send avatar data to mixer/nodes |
| 2441 | 2441 | updateThreads(deltaTime); // If running non-threaded, then give the threads some time to process... |