move AVATAR_MOTION_OBEY_GRAVITY to libs

This commit is contained in:
Andrew Meadows 2014-04-25 14:16:42 -07:00
parent 357aac833e
commit c2f1507df1
2 changed files with 3 additions and 2 deletions

View file

@ -25,8 +25,6 @@ enum AvatarHandState
NUM_HAND_STATES
};
const quint32 AVATAR_MOTION_OBEY_GRAVITY = 1U << 0;
class MyAvatar : public Avatar {
Q_OBJECT
Q_PROPERTY(bool shouldRenderLocally READ getShouldRenderLocally WRITE setShouldRenderLocally)

View file

@ -50,6 +50,9 @@ typedef unsigned long long quint64;
#include "HeadData.h"
#include "HandData.h"
// avatar motion behaviors
const quint32 AVATAR_MOTION_OBEY_GRAVITY = 1U << 0;
// First bitset
const int KEY_STATE_START_BIT = 0; // 1st and 2nd bits
const int HAND_STATE_START_BIT = 2; // 3rd and 4th bits