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

three-render-objects

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-render-objects - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

10

dist/three-render-objects.common.js

@@ -81,6 +81,12 @@ 'use strict';

triggerUpdate: false },
enablePointerInteraction: { default: true, onChange: function onChange(_, state) {
enablePointerInteraction: {
default: true,
onChange: function onChange(_, state) {
// Reset hover state
state.hoverObj = null;
if (state.toolTipElem) state.toolTipElem.innerHTML = '';
},
triggerUpdate: false },
triggerUpdate: false
},
lineHoverPrecision: { default: 1, triggerUpdate: false },

@@ -87,0 +93,0 @@ hoverOrderComparator: { default: function _default() {

@@ -77,6 +77,12 @@ import { WebGLRenderer, Scene, PerspectiveCamera, Raycaster, Vector2, Vector3, Color } from 'three';

triggerUpdate: false },
enablePointerInteraction: { default: true, onChange: function onChange(_, state) {
enablePointerInteraction: {
default: true,
onChange: function onChange(_, state) {
// Reset hover state
state.hoverObj = null;
if (state.toolTipElem) state.toolTipElem.innerHTML = '';
},
triggerUpdate: false },
triggerUpdate: false
},
lineHoverPrecision: { default: 1, triggerUpdate: false },

@@ -83,0 +89,0 @@ hoverOrderComparator: { default: function _default() {

8

package.json
{
"name": "three-render-objects",
"version": "1.0.5",
"version": "1.0.6",
"description": "Easy way to render ThreeJS objects with built-in interaction defaults",

@@ -54,4 +54,4 @@ "unpkg": "dist/three-render-objects.min.js",

"rimraf": "^2.6.2",
"rollup": "^0.59.4",
"rollup-plugin-babel": "^3.0.4",
"rollup": "^0.63.2",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.3",

@@ -61,4 +61,4 @@ "rollup-plugin-node-resolve": "^3.3.0",

"rollup-watch": "^4.3.1",
"uglify-js": "^3.3.28"
"uglify-js": "^3.4.5"
}
}

@@ -51,3 +51,11 @@ import {

}, triggerUpdate: false },
enablePointerInteraction: { default: true, onChange(_, state) { state.hoverObj = null; }, triggerUpdate: false },
enablePointerInteraction: {
default: true,
onChange(_, state) {
// Reset hover state
state.hoverObj = null;
if (state.toolTipElem) state.toolTipElem.innerHTML = '';
},
triggerUpdate: false
},
lineHoverPrecision: { default: 1, triggerUpdate: false },

@@ -54,0 +62,0 @@ hoverOrderComparator: { default: () => -1, triggerUpdate: false }, // keep existing order by default

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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