mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Merge pull request #1073 from ey6es/master
These should actually start at two pi (that's the maximum distance).
This commit is contained in:
commit
e63923774f
1 changed files with 2 additions and 2 deletions
|
@ -1162,8 +1162,8 @@ void MyAvatar::updateChatCircle(float deltaTime) {
|
|||
glm::vec3 delta = _position - center;
|
||||
glm::vec3 projected = glm::vec3(glm::dot(right, delta), glm::dot(front, delta), 0.0f);
|
||||
float myAngle = glm::length(projected) > EPSILON ? atan2f(projected.y, projected.x) : 0.0f;
|
||||
float leftDistance = PIf;
|
||||
float rightDistance = PIf;
|
||||
float leftDistance = PI_TIMES_TWO;
|
||||
float rightDistance = PI_TIMES_TWO;
|
||||
foreach (const SortedAvatar& sortedAvatar, sortedAvatars) {
|
||||
delta = sortedAvatar.avatar->getPosition() - center;
|
||||
projected = glm::vec3(glm::dot(right, delta), glm::dot(front, delta), 0.0f);
|
||||
|
|
Loading…
Reference in a new issue