diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-01-12 18:02:45 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-06-14 10:53:29 +0000 |
commit | 02e960493ef9a2f8dc25a06616fbde8fd869d1af (patch) | |
tree | 921324b1538455f0f058653adebb8a9f71bd98e0 /tests/manual | |
parent | aecc8d26eca1cee6eee04e24a0b10e374f33a6c8 (diff) |
Be (somewhat more) consistent about the value of pi
Use qmath.h's value for M_PI in shaders, rather than a value less
precise than even float holds.
Task-number: QTBUG-58083
Change-Id: I3cf30a0900216b1d7d6dc54d4c5676592ba503a0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/bigscene-instanced-qml/instanced.vert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/bigscene-instanced-qml/instanced.vert b/tests/manual/bigscene-instanced-qml/instanced.vert index f713957e3..141cf9927 100644 --- a/tests/manual/bigscene-instanced-qml/instanced.vert +++ b/tests/manual/bigscene-instanced-qml/instanced.vert @@ -1,6 +1,6 @@ #version 150 core -#define M_PI 3.14159 +#define M_PI 3.14159265358979323846 in vec3 vertexPosition; in vec3 vertexNormal; |