mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 23:39:26 +02:00
fix warning
This commit is contained in:
parent
13985f8149
commit
a887baf081
1 changed files with 7 additions and 4 deletions
|
@ -923,10 +923,13 @@ void MyAvatar::updateCollisionWithAvatars(float deltaTime) {
|
||||||
|
|
||||||
// HACK: body-body collision uses two coaxial capsules with axes parallel to y-axis
|
// HACK: body-body collision uses two coaxial capsules with axes parallel to y-axis
|
||||||
// TODO: make the collision work without assuming avatar orientation
|
// TODO: make the collision work without assuming avatar orientation
|
||||||
Extents myStaticExtents = _skeletonModel.getStaticExtents();
|
|
||||||
glm::vec3 staticScale = myStaticExtents.maximum - myStaticExtents.minimum;
|
// TODO: these local variables are not used in the live code, only in the
|
||||||
float myCapsuleRadius = 0.25f * (staticScale.x + staticScale.z);
|
// commented-outTODO code below.
|
||||||
float myCapsuleHeight = staticScale.y;
|
//Extents myStaticExtents = _skeletonModel.getStaticExtents();
|
||||||
|
//glm::vec3 staticScale = myStaticExtents.maximum - myStaticExtents.minimum;
|
||||||
|
//float myCapsuleRadius = 0.25f * (staticScale.x + staticScale.z);
|
||||||
|
//float myCapsuleHeight = staticScale.y;
|
||||||
|
|
||||||
CollisionInfo collisionInfo;
|
CollisionInfo collisionInfo;
|
||||||
foreach (const AvatarSharedPointer& avatarPointer, avatars) {
|
foreach (const AvatarSharedPointer& avatarPointer, avatars) {
|
||||||
|
|
Loading…
Reference in a new issue