From 1279f3c3bbbf857792116e8202083495e0f6f0f6 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 31 Oct 2013 08:55:37 -0700 Subject: [PATCH] =?UTF-8?q?Made=20the=20stick=20and=20ball=20radius=20much?= =?UTF-8?q?=20smaller=20so=20they=20don=E2=80=99t=20break=20through=20the?= =?UTF-8?q?=20new=20meshes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interface/src/avatar/SkeletonModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/avatar/SkeletonModel.cpp b/interface/src/avatar/SkeletonModel.cpp index c6381eea08..c11532b929 100644 --- a/interface/src/avatar/SkeletonModel.cpp +++ b/interface/src/avatar/SkeletonModel.cpp @@ -53,7 +53,7 @@ bool SkeletonModel::render(float alpha) { glRotatef(glm::angle(rotation), axis.x, axis.y, axis.z); glColor4f(skinColor.r, skinColor.g, skinColor.b, alpha); - const float BALL_RADIUS = 0.02f; + const float BALL_RADIUS = 0.005f; const int BALL_SUBDIVISIONS = 10; glutSolidSphere(BALL_RADIUS * _owningAvatar->getScale(), BALL_SUBDIVISIONS, BALL_SUBDIVISIONS); @@ -67,7 +67,7 @@ bool SkeletonModel::render(float alpha) { glm::vec3 parentPosition; getJointPosition(parentIndex, parentPosition); - const float STICK_RADIUS = BALL_RADIUS * 0.5f; + const float STICK_RADIUS = BALL_RADIUS * 0.1f; Avatar::renderJointConnectingCone(parentPosition, position, STICK_RADIUS * _owningAvatar->getScale(), STICK_RADIUS * _owningAvatar->getScale()); }