mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-12 20:24:38 +02:00
Make display names 25% smaller
This commit is contained in:
parent
14a1860670
commit
efeeaa7ea7
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ Transform Avatar::calculateDisplayNameTransform(const ViewFrustum& frustum, cons
|
|||
glm::quat orientation = glm::quat(glm::vec3(0.0f, yawRotation, 0.0f));
|
||||
|
||||
// Compute correct scale to apply
|
||||
static const float DESIRED_HEIGHT_RAD = glm::radians(2.0f);
|
||||
static const float DESIRED_HEIGHT_RAD = glm::radians(1.5f);
|
||||
float scale = glm::length(toFrustum) * glm::tan(DESIRED_HEIGHT_RAD);
|
||||
|
||||
// Set transform
|
||||
|
|
Loading…
Reference in a new issue