@fjandin/react-shader 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -659,7 +659,7 @@ function generateSimplexNoiseFunction() {
659
659
  + dot(m1*m1, vec2( dot( p3, x3 ), dot( p4, x4 ) ) ) ) ;
660
660
  }
661
661
 
662
- float SimplexNoise(vec3 v) {
662
+ float SimplexNoise3D(vec3 v) {
663
663
  const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;
664
664
  const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);
665
665
 
package/dist/index.js CHANGED
@@ -622,7 +622,7 @@ function generateSimplexNoiseFunction() {
622
622
  + dot(m1*m1, vec2( dot( p3, x3 ), dot( p4, x4 ) ) ) ) ;
623
623
  }
624
624
 
625
- float SimplexNoise(vec3 v) {
625
+ float SimplexNoise3D(vec3 v) {
626
626
  const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;
627
627
  const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);
628
628
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fjandin/react-shader",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "React component for rendering WebGL shaders",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",