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

three.meshline

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three.meshline - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "three.meshline",
"version": "1.2.0",
"version": "1.2.1",
"description": "Mesh replacement for THREE.Line",

@@ -5,0 +5,0 @@ "main": "src/THREE.MeshLine.js",

@@ -87,2 +87,3 @@ ;(function() {

var precisionSq = precision * precision;
var interRay = new THREE.Vector3();

@@ -98,3 +99,3 @@ var geometry = this.geometry;

if ( raycaster.ray.intersectSphere( sphere ) === false ) {
if ( raycaster.ray.intersectSphere( sphere, interRay ) === false ) {

@@ -111,3 +112,2 @@ return;

var interSegment = new THREE.Vector3();
var interRay = new THREE.Vector3();
var step = this instanceof THREE.LineSegments ? 2 : 1;

@@ -340,9 +340,9 @@

this.geometry.addAttribute( 'position', this.attributes.position );
this.geometry.addAttribute( 'previous', this.attributes.previous );
this.geometry.addAttribute( 'next', this.attributes.next );
this.geometry.addAttribute( 'side', this.attributes.side );
this.geometry.addAttribute( 'width', this.attributes.width );
this.geometry.addAttribute( 'uv', this.attributes.uv );
this.geometry.addAttribute( 'counters', this.attributes.counters );
this.geometry.setAttribute( 'position', this.attributes.position );
this.geometry.setAttribute( 'previous', this.attributes.previous );
this.geometry.setAttribute( 'next', this.attributes.next );
this.geometry.setAttribute( 'side', this.attributes.side );
this.geometry.setAttribute( 'width', this.attributes.width );
this.geometry.setAttribute( 'uv', this.attributes.uv );
this.geometry.setAttribute( 'counters', this.attributes.counters );

@@ -349,0 +349,0 @@ this.geometry.setIndex( this.attributes.index );

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