mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Longer drum sticks
This commit is contained in:
parent
423b2e8e0f
commit
b04d48a7b8
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ void Hand::calculateGeometry() {
|
|||
for (size_t f = 0; f < palm.getNumFingers(); ++f) {
|
||||
FingerData& finger = palm.getFingers()[f];
|
||||
if (finger.isActive()) {
|
||||
const float standardBallRadius = 0.005f;
|
||||
const float standardBallRadius = 0.010f;
|
||||
_leapFingerTipBalls.resize(_leapFingerTipBalls.size() + 1);
|
||||
HandBall& ball = _leapFingerTipBalls.back();
|
||||
ball.rotation = _baseOrientation;
|
||||
|
|
|
@ -89,7 +89,7 @@ void SixenseManager::update(float deltaTime) {
|
|||
FingerData finger(palm, &hand);
|
||||
finger.setActive(true);
|
||||
finger.setRawRootPosition(position);
|
||||
const float FINGER_LENGTH = 100.0f; // Millimeters
|
||||
const float FINGER_LENGTH = 300.0f; // Millimeters
|
||||
const glm::vec3 FINGER_VECTOR(0.0f, 0.0f, FINGER_LENGTH);
|
||||
finger.setRawTipPosition(position + rotation * FINGER_VECTOR);
|
||||
|
||||
|
|
Loading…
Reference in a new issue