History

Add palm velocity

Philip Rosedale committed 12 years ago

Commit 96809411 parent 14129cd5 files · +12 −6Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t