made inline

This commit is contained in:
Jeffrey Ventrella 2013-05-28 18:55:21 -07:00
parent b98d03337d
commit 0e329af03e
2 changed files with 11 additions and 17 deletions

View file

@ -37,12 +37,6 @@ AvatarTouch::AvatarTouch() {
}
}
void AvatarTouch::setHasInteractingOther(bool hasInteractingOther) {
_hasInteractingOther = hasInteractingOther;
}
void AvatarTouch::simulate (float deltaTime) {
_canReachToOtherAvatar = false; // default

View file

@ -28,17 +28,17 @@ public:
void simulate(float deltaTime);
void render(glm::vec3 cameraPosition);
void setHasInteractingOther(bool hasInteractingOther);
void setMyHandPosition (glm::vec3 position ) { _myHandPosition = position; }
void setYourHandPosition(glm::vec3 position ) { _yourHandPosition = position; }
void setMyOrientation (Orientation orientation) { _myOrientation = orientation; }
void setYourOrientation (Orientation orientation) { _yourOrientation = orientation; }
void setMyBodyPosition (glm::vec3 position ) { _myBodyPosition = position; }
void setYourBodyPosition(glm::vec3 position ) { _yourBodyPosition = position; }
void setMyHandState (int state ) { _myHandState = state; }
void setYourHandState (int state ) { _yourHandState = state; }
void setReachableRadius (float radius ) { _reachableRadius = radius; }
void setHoldingHands (bool holding ) { _weAreHoldingHands = holding; }
void setHasInteractingOther(bool hasInteractingOther) { _hasInteractingOther = hasInteractingOther;}
void setMyHandPosition (glm::vec3 position ) { _myHandPosition = position;}
void setYourHandPosition (glm::vec3 position ) { _yourHandPosition = position;}
void setMyOrientation (Orientation orientation ) { _myOrientation = orientation;}
void setYourOrientation (Orientation orientation ) { _yourOrientation = orientation;}
void setMyBodyPosition (glm::vec3 position ) { _myBodyPosition = position;}
void setYourBodyPosition (glm::vec3 position ) { _yourBodyPosition = position;}
void setMyHandState (int state ) { _myHandState = state;}
void setYourHandState (int state ) { _yourHandState = state;}
void setReachableRadius (float radius ) { _reachableRadius = radius;}
void setHoldingHands (bool holding ) { _weAreHoldingHands = holding;}
bool getAbleToReachOtherAvatar () const {return _canReachToOtherAvatar; }
bool getHandsCloseEnoughToGrasp() const {return _handsCloseEnoughToGrasp;}