History

quiet compiler

Seth Alves committed 11 years ago

Commit 49ee2511 parent e65ef9320 files · +86 −84Browse files

Showing the changes to interface/src/Application.cpp (1 of 20 files). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -5070,7 +5070,7 @@ void Application::emulateMouse(Hand* hand, float click, float shift, int index) · 5069 unmodified lines
50705070 glm::vec3 direction = glm::inverse(_myAvatar->getOrientation()) * palm->getFingerDirection();
50715071
50725072 // Get the angles, scaled between (-0.5,0.5)
5073− float xAngle = (atan2(direction.z, direction.x) + M_PI_2);
5073+ float xAngle = (atan2f(direction.z, direction.x) + (float)M_PI_2);
50745074 float yAngle = 0.5f - ((atan2f(direction.z, direction.y) + (float)M_PI_2));
50755075 auto canvasSize = qApp->getCanvasSize();
50765076 // Get the pixel range over which the xAngle and yAngle are scaled

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t