mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 01:42:46 +02:00
updated per feedback
This commit is contained in:
parent
c61966ebcd
commit
0239341127
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ void LeapManager::terminate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void LeapManager::nextFrame() {
|
void LeapManager::nextFrame() {
|
||||||
if (_listener && _controller && _controller->devices().count() > 0) {
|
if (controllersExist()) {
|
||||||
_listener->onFrame(*_controller);
|
_listener->onFrame(*_controller);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public:
|
||||||
HandData(AvatarData* owningAvatar);
|
HandData(AvatarData* owningAvatar);
|
||||||
|
|
||||||
// These methods return the positions in Leap-relative space.
|
// These methods return the positions in Leap-relative space.
|
||||||
// To vonvert to world coordinates, use Hand::leapPositionToWorldPosition.
|
// To convert to world coordinates, use Hand::leapPositionToWorldPosition.
|
||||||
const std::vector<glm::vec3>& getFingerTips() const { return _fingerTips; }
|
const std::vector<glm::vec3>& getFingerTips() const { return _fingerTips; }
|
||||||
const std::vector<glm::vec3>& getFingerRoots() const { return _fingerRoots; }
|
const std::vector<glm::vec3>& getFingerRoots() const { return _fingerRoots; }
|
||||||
const std::vector<glm::vec3>& getHandPositions() const { return _handPositions; }
|
const std::vector<glm::vec3>& getHandPositions() const { return _handPositions; }
|
||||||
|
|
Loading…
Reference in a new issue