Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graspologic/renderer-glsl

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graspologic/renderer-glsl - npm Package Compare versions

Comparing version 0.7.0-2 to 0.7.0-3

16

dist/cjs/shaders/edge.vs.glsl.js
module.exports = `attribute vec2 aVertex;
attribute vec3 aSourcePosition_start;
attribute vec3 aSourcePosition;
attribute vec2 aSourcePosition_tween;
attribute vec3 aPosition_start;
attribute vec3 aPosition;
attribute vec2 aPosition_tween;
attribute vec3 aTargetPosition_start;
attribute vec3 aTargetPosition;
attribute vec2 aTargetPosition_tween;
attribute vec3 aPosition2_start;
attribute vec3 aPosition2;
attribute vec2 aPosition2_tween;

@@ -56,4 +56,4 @@

void main() {
vec3 nodeA = tween_attribute(aSourcePosition_start, aSourcePosition, aSourcePosition_tween, uTime);
vec3 nodeB = tween_attribute(aTargetPosition_start, aTargetPosition, aTargetPosition_tween, uTime);
vec3 nodeA = tween_attribute(aPosition_start, aPosition, aPosition_tween, uTime);
vec3 nodeB = tween_attribute(aPosition2_start, aPosition2, aPosition2_tween, uTime);

@@ -60,0 +60,0 @@ vec4 clipA = uProjection * uModelView * vec4(nodeA, 1.0);

export default `attribute vec2 aVertex;
attribute vec3 aSourcePosition_start;
attribute vec3 aSourcePosition;
attribute vec2 aSourcePosition_tween;
attribute vec3 aPosition_start;
attribute vec3 aPosition;
attribute vec2 aPosition_tween;
attribute vec3 aTargetPosition_start;
attribute vec3 aTargetPosition;
attribute vec2 aTargetPosition_tween;
attribute vec3 aPosition2_start;
attribute vec3 aPosition2;
attribute vec2 aPosition2_tween;

@@ -56,4 +56,4 @@

void main() {
vec3 nodeA = tween_attribute(aSourcePosition_start, aSourcePosition, aSourcePosition_tween, uTime);
vec3 nodeB = tween_attribute(aTargetPosition_start, aTargetPosition, aTargetPosition_tween, uTime);
vec3 nodeA = tween_attribute(aPosition_start, aPosition, aPosition_tween, uTime);
vec3 nodeB = tween_attribute(aPosition2_start, aPosition2, aPosition2_tween, uTime);

@@ -60,0 +60,0 @@ vec4 clipA = uProjection * uModelView * vec4(nodeA, 1.0);

{
"name": "@graspologic/renderer-glsl",
"version": "0.7.0-2",
"version": "0.7.0-3",
"description": "Graph data visualization core renderer (GLSL Code)",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc