From e9e7f100f84428a8f958c48fbaf0b2e58d942116 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Mon, 5 Dec 2016 13:11:53 -0500 Subject: [PATCH] Older versions of firefox can use trig functions with constant arguments as a constant. --- src/gl/lineFeature.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/lineFeature.js b/src/gl/lineFeature.js index ecc7a731f1..8482ca8f57 100644 --- a/src/gl/lineFeature.js +++ b/src/gl/lineFeature.js @@ -103,7 +103,7 @@ var gl_lineFeature = function (arg) { 'varying vec4 info;', /* near mode, far mode, offset */ 'varying vec4 angles;', /* near angle cos, sin, far angle cos, sin */ - 'const float PI = acos(-1.0);', + 'const float PI = 3.14159265358979323846264;', 'void main(void)', '{',