summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/wave
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/wave')
-rw-r--r--examples/qt3d/wave/shaders/ribbon.vert2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/wave/shaders/ribbon.vert b/examples/qt3d/wave/shaders/ribbon.vert
index e099d53c8..2ff9d2729 100644
--- a/examples/qt3d/wave/shaders/ribbon.vert
+++ b/examples/qt3d/wave/shaders/ribbon.vert
@@ -111,7 +111,7 @@ float snoise(vec3 v)
float height( const in vec3 pos )
{
// Perturb the y position by a wave function in (x, t)
- const float twoPi = 2.0 * 3.14159;
+ const float twoPi = 2.0 * 3.14159265358979323846;
float k = twoPi / lambda;
float omega = twoPi / period;