Skip to content

Commit

Permalink
Updated: common.glsl.js
Browse files Browse the repository at this point in the history
  • Loading branch information
linbingquan committed May 28, 2020
1 parent 452a9e9 commit f6ec54a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/renderers/shaders/ShaderChunk/common.glsl.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
export default /* glsl */`
#define PI 3.14159265359
#define PI2 6.28318530718
#define PI_HALF 1.5707963267949
#define RECIPROCAL_PI 0.31830988618
#define RECIPROCAL_PI2 0.15915494
#define LOG2 1.442695
#define PI 3.141592653589793
#define PI2 6.283185307179586
#define PI_HALF 1.5707963267948966
#define RECIPROCAL_PI 0.3183098861837907
#define RECIPROCAL_PI2 0.15915494309189535
#define EPSILON 1e-6
#ifndef saturate
Expand Down

0 comments on commit f6ec54a

Please sign in to comment.