minor cleanup

This commit is contained in:
Eric Johnston 2013-07-17 12:54:44 -07:00
parent f9bfc8af82
commit 46c5383d10
3 changed files with 3 additions and 5 deletions

View file

@ -19,8 +19,6 @@
#include <SharedUtil.h>
#include <vector>
const int NUM_FINGERS_PER_HAND = 5;
class Avatar;
class ProgramObject;
@ -68,8 +66,6 @@ private:
bool _lookingInMirror;
bool _isRaveGloveActive;
glm::vec3 _ballColor;
// glm::vec3 _position;
// glm::quat _orientation;
std::vector<HandBall> _leapBalls;
bool _particleSystemInitialized;

View file

@ -23,7 +23,7 @@ _rawNormal(0, 1, 0),
_isActive(false),
_owningHandData(owningHandData)
{
for (int i = 0; i < 5; ++i)
for (int i = 0; i < NUM_FINGERS_PER_HAND; ++i)
_fingers.push_back(FingerData(this, owningHandData));
}

View file

@ -19,6 +19,8 @@ class AvatarData;
class FingerData;
class PalmData;
const int NUM_FINGERS_PER_HAND = 5;
class HandData {
public:
HandData(AvatarData* owningAvatar);