From 2e402c3b17e60bbe8c8a030557fef4c957790b8e Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Mon, 22 Apr 2013 10:29:14 -0700 Subject: [PATCH] added - and then removed - some orientation-related tests --- interface/src/Head.cpp | 62 +++++++++++++++++++++++++++--------------- interface/src/Head.h | 4 ++- interface/src/main.cpp | 2 -- 3 files changed, 43 insertions(+), 25 deletions(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index 821ff2e111..50ebeed4ae 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -47,7 +47,8 @@ unsigned int iris_texture_height = 256; Head::Head(bool isMine) { - _orientation.setToIdentity(); + _orientation.setToIdentity(); + _velocity = glm::vec3( 0.0, 0.0, 0.0 ); _thrust = glm::vec3( 0.0, 0.0, 0.0 ); _rotation = glm::quat( 0.0f, 0.0f, 0.0f, 0.0f ); @@ -163,8 +164,7 @@ Head::Head(const Head &otherAvatar) { _movedHandOffset = otherAvatar._movedHandOffset; _usingBodySprings = otherAvatar._usingBodySprings; _springForce = otherAvatar._springForce; - _springVelocityDecay = otherAvatar._springVelocityDecay; - + _springVelocityDecay = otherAvatar._springVelocityDecay; _orientation.set( otherAvatar._orientation ); //for (int o=0;ogetLinkedData() == NULL) { newAgent->setLinkedData(new Head(false));