Skip to content

Commit

Permalink
Older versions of firefox can use trig functions with constant argume…
Browse files Browse the repository at this point in the history
…nts as a constant.
  • Loading branch information
manthey committed Dec 5, 2016
1 parent 1420881 commit e9e7f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gl/lineFeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
'{',
Expand Down

0 comments on commit e9e7f10

Please sign in to comment.