New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

meshline

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meshline - npm Package Compare versions

Comparing version

to
3.1.2

@@ -16,5 +16,7 @@ import * as THREE from 'three';

widthCallback: WidthCallback | null;
_points: Float32Array | number[];
_geometry: THREE.BufferGeometry | null;
matrixWorld: THREE.Matrix4;
geometry: THREE.BufferGeometry;
points: PointsRepresentation;
geometry: THREE.BufferGeometry | null;
points: Float32Array | number[];
constructor();

@@ -21,0 +23,0 @@ setMatrixWorld(matrixWorld: THREE.Matrix4): void;

@@ -59,2 +59,4 @@ import * as THREE from 'three';

widthCallback = null;
_points = [];
_geometry = null;
// Used to raycast

@@ -70,3 +72,3 @@ matrixWorld = new THREE.Matrix4();

get() {
return this._geom;
return this._geometry;
},

@@ -98,3 +100,3 @@ set(value) {

if (g instanceof THREE.BufferGeometry) {
this.geometry = g;
this._geometry = g;
this.setPoints(g.getAttribute('position').array, c);

@@ -111,3 +113,3 @@ }

// for later retreival when necessary (declaritive architectures)
this.points = points;
this._points = points;
this.widthCallback = wcb ?? null;

@@ -114,0 +116,0 @@ this.positions = [];

{
"name": "meshline",
"version": "3.1.1",
"version": "3.1.2",
"author": "Jaume Sanchez <the.spite@gmail.com> (https://www.clicktorelease.com)",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet