From d0f27f164872975d1ad603b2906d6aca6e0988ee Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Wed, 17 Jun 2015 20:03:51 +0200 Subject: [PATCH] Change display names size --- interface/src/avatar/Avatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/avatar/Avatar.cpp b/interface/src/avatar/Avatar.cpp index 24291f8477..9672d22c69 100644 --- a/interface/src/avatar/Avatar.cpp +++ b/interface/src/avatar/Avatar.cpp @@ -689,7 +689,7 @@ Transform Avatar::calculateDisplayNameTransform(const ViewFrustum& frustum, floa float windowSizeY = viewportMatrix[3] - viewportMatrix[1]; // TODO REMOVE ^^^ - const float DESIRED_HIGHT_ON_SCREEN = 25; // In pixels (this is double on retinas) + const float DESIRED_HIGHT_ON_SCREEN = 20; // In pixels (this is double on retinas) // Projected point are between -1.0f and 1.0f, hence 0.5f * windowSizeY double pixelHeight = 0.5f * windowSizeY * glm::abs((p1.y / p1.w) - (p0.y / p0.w)); //