Moved members to MyAvatar

This commit is contained in:
Atlante45 2014-08-18 16:25:38 -07:00
parent 698699dea8
commit c113dd350e
3 changed files with 3 additions and 4 deletions

View file

@ -64,7 +64,6 @@ Avatar::Avatar() :
_mouseRayDirection(0.0f, 0.0f, 0.0f),
_moving(false),
_collisionGroups(0),
_player(NULL),
_initialized(false),
_shouldRenderBillboard(true)
{

View file

@ -188,9 +188,6 @@ protected:
bool _moving; ///< set when position is changing
quint32 _collisionGroups;
RecorderPointer _recorder;
PlayerPointer _player;
// protected methods...
glm::vec3 getBodyRightDirection() const { return getOrientation() * IDENTITY_RIGHT; }

View file

@ -205,6 +205,9 @@ private:
QList<AnimationHandlePointer> _animationHandles;
PhysicsSimulation _physicsSimulation;
RecorderPointer _recorder;
PlayerPointer _player;
// private methods
float computeDistanceToFloor(const glm::vec3& startPoint);
void updateOrientation(float deltaTime);