mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Removing HeadData::findSpherePenetration() as unused cruft.
This commit is contained in:
parent
cc70e099bf
commit
3a8aa0c47e
2 changed files with 0 additions and 14 deletions
|
@ -45,10 +45,3 @@ void HeadData::addLean(float sideways, float forwards) {
|
|||
_leanForward += forwards;
|
||||
}
|
||||
|
||||
bool HeadData::findSpherePenetration(const glm::vec3& penetratorCenter, float penetratorRadius, glm::vec3& penetration) const {
|
||||
// we would like to update this to determine collisions/penetrations with the Avatar's head sphere...
|
||||
// but right now it does not appear as if the HeadData has a position and radius.
|
||||
// this is a placeholder for now.
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -58,13 +58,6 @@ public:
|
|||
void setLookAtPosition(const glm::vec3& lookAtPosition) { _lookAtPosition = lookAtPosition; }
|
||||
|
||||
friend class AvatarData;
|
||||
|
||||
/// Checks for penetration between the described sphere and the hand.
|
||||
/// \param penetratorCenter the center of the penetration test sphere
|
||||
/// \param penetratorRadius the radius of the penetration test sphere
|
||||
/// \param penetration[out] the vector in which to store the penetration
|
||||
/// \return whether or not the sphere penetrated
|
||||
bool findSpherePenetration(const glm::vec3& penetratorCenter, float penetratorRadius, glm::vec3& penetration) const;
|
||||
|
||||
protected:
|
||||
float _yaw;
|
||||
|
|
Loading…
Reference in a new issue