mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 18:13:05 +02:00
made inline
This commit is contained in:
parent
b98d03337d
commit
0e329af03e
2 changed files with 11 additions and 17 deletions
|
@ -37,12 +37,6 @@ AvatarTouch::AvatarTouch() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void AvatarTouch::setHasInteractingOther(bool hasInteractingOther) {
|
|
||||||
_hasInteractingOther = hasInteractingOther;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void AvatarTouch::simulate (float deltaTime) {
|
void AvatarTouch::simulate (float deltaTime) {
|
||||||
|
|
||||||
_canReachToOtherAvatar = false; // default
|
_canReachToOtherAvatar = false; // default
|
||||||
|
|
|
@ -28,17 +28,17 @@ public:
|
||||||
void simulate(float deltaTime);
|
void simulate(float deltaTime);
|
||||||
void render(glm::vec3 cameraPosition);
|
void render(glm::vec3 cameraPosition);
|
||||||
|
|
||||||
void setHasInteractingOther(bool hasInteractingOther);
|
void setHasInteractingOther(bool hasInteractingOther) { _hasInteractingOther = hasInteractingOther;}
|
||||||
void setMyHandPosition (glm::vec3 position ) { _myHandPosition = position; }
|
void setMyHandPosition (glm::vec3 position ) { _myHandPosition = position;}
|
||||||
void setYourHandPosition(glm::vec3 position ) { _yourHandPosition = position; }
|
void setYourHandPosition (glm::vec3 position ) { _yourHandPosition = position;}
|
||||||
void setMyOrientation (Orientation orientation) { _myOrientation = orientation; }
|
void setMyOrientation (Orientation orientation ) { _myOrientation = orientation;}
|
||||||
void setYourOrientation (Orientation orientation) { _yourOrientation = orientation; }
|
void setYourOrientation (Orientation orientation ) { _yourOrientation = orientation;}
|
||||||
void setMyBodyPosition (glm::vec3 position ) { _myBodyPosition = position; }
|
void setMyBodyPosition (glm::vec3 position ) { _myBodyPosition = position;}
|
||||||
void setYourBodyPosition(glm::vec3 position ) { _yourBodyPosition = position; }
|
void setYourBodyPosition (glm::vec3 position ) { _yourBodyPosition = position;}
|
||||||
void setMyHandState (int state ) { _myHandState = state; }
|
void setMyHandState (int state ) { _myHandState = state;}
|
||||||
void setYourHandState (int state ) { _yourHandState = state; }
|
void setYourHandState (int state ) { _yourHandState = state;}
|
||||||
void setReachableRadius (float radius ) { _reachableRadius = radius; }
|
void setReachableRadius (float radius ) { _reachableRadius = radius;}
|
||||||
void setHoldingHands (bool holding ) { _weAreHoldingHands = holding; }
|
void setHoldingHands (bool holding ) { _weAreHoldingHands = holding;}
|
||||||
|
|
||||||
bool getAbleToReachOtherAvatar () const {return _canReachToOtherAvatar; }
|
bool getAbleToReachOtherAvatar () const {return _canReachToOtherAvatar; }
|
||||||
bool getHandsCloseEnoughToGrasp() const {return _handsCloseEnoughToGrasp;}
|
bool getHandsCloseEnoughToGrasp() const {return _handsCloseEnoughToGrasp;}
|
||||||
|
|
Loading…
Reference in a new issue