@cosmos.gl/graph 2.7.0-beta.3 → 3.0.0-beta.0
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-u8g06ZrC.js → index-erwqpfu-.js} +7 -7
- package/dist/{index-u8g06ZrC.js.map → index-erwqpfu-.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/{webgl-device-BeV8-7_B.js → webgl-device-zHpMG57Z.js} +2 -2
- package/dist/{webgl-device-BeV8-7_B.js.map → webgl-device-zHpMG57Z.js.map} +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as i, P as e, C as t, A as r, x as n, v as o, r as l, q as b, E as c, s as g, w as P, z as m, y as p, F as x } from "./index-
|
|
1
|
+
import { G as i, P as e, C as t, A as r, x as n, v as o, r as l, q as b, E as c, s as g, w as P, z as m, y as p, F as x } from "./index-erwqpfu-.js";
|
|
2
2
|
export {
|
|
3
3
|
i as Graph,
|
|
4
4
|
e as PointShape,
|
package/dist/index.min.js
CHANGED
|
@@ -356,8 +356,8 @@ layout(std140) uniform forceUniforms {
|
|
|
356
356
|
float level;
|
|
357
357
|
float levels;
|
|
358
358
|
float levelTextureSize;
|
|
359
|
-
float repulsion;
|
|
360
359
|
float alpha;
|
|
360
|
+
float repulsion;
|
|
361
361
|
float spaceSize;
|
|
362
362
|
float theta;
|
|
363
363
|
} force;
|
|
@@ -365,8 +365,8 @@ layout(std140) uniform forceUniforms {
|
|
|
365
365
|
#define level force.level
|
|
366
366
|
#define levels force.levels
|
|
367
367
|
#define levelTextureSize force.levelTextureSize
|
|
368
|
-
#define repulsion force.repulsion
|
|
369
368
|
#define alpha force.alpha
|
|
369
|
+
#define repulsion force.repulsion
|
|
370
370
|
#define spaceSize force.spaceSize
|
|
371
371
|
#define theta force.theta
|
|
372
372
|
#else
|
|
@@ -492,8 +492,8 @@ uniform sampler2D randomValues;
|
|
|
492
492
|
#ifdef USE_UNIFORM_BUFFERS
|
|
493
493
|
layout(std140) uniform forceCenterUniforms {
|
|
494
494
|
float levelTextureSize;
|
|
495
|
-
float repulsion;
|
|
496
495
|
float alpha;
|
|
496
|
+
float repulsion;
|
|
497
497
|
} forceCenter;
|
|
498
498
|
|
|
499
499
|
#define levelTextureSize forceCenter.levelTextureSize
|
|
@@ -501,8 +501,8 @@ layout(std140) uniform forceCenterUniforms {
|
|
|
501
501
|
#define alpha forceCenter.alpha
|
|
502
502
|
#else
|
|
503
503
|
uniform float levelTextureSize;
|
|
504
|
-
uniform float repulsion;
|
|
505
504
|
uniform float alpha;
|
|
505
|
+
uniform float repulsion;
|
|
506
506
|
#endif
|
|
507
507
|
|
|
508
508
|
in vec2 textureCoords;
|