mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
Replace var in renderLookatIndicator with const IDENTITY_UP
This commit is contained in:
parent
4e641eed2f
commit
7177b71bc7
1 changed files with 1 additions and 2 deletions
|
@ -1960,8 +1960,7 @@ void Application::renderLookatIndicator(glm::vec3 pointOfInterest, Camera& which
|
|||
const int NUM_SEGMENTS = 30;
|
||||
glm::vec3 haloOrigin(pointOfInterest.x, pointOfInterest.y + DISTANCE_FROM_HEAD_SPHERE, pointOfInterest.z);
|
||||
glColor3f(YELLOW[0], YELLOW[1], YELLOW[2]);
|
||||
glm::vec3 normalToFloor(0.0f, 1.0f, 0.0f);
|
||||
renderCircle(haloOrigin, INDICATOR_RADIUS, normalToFloor, NUM_SEGMENTS);
|
||||
renderCircle(haloOrigin, INDICATOR_RADIUS, IDENTITY_UP, NUM_SEGMENTS);
|
||||
}
|
||||
|
||||
void Application::update(float deltaTime) {
|
||||
|
|
Loading…
Reference in a new issue