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

openbim-components

Package Overview
Dependencies
Maintainers
2
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openbim-components - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

1

fragment/memory-culling.d.ts

@@ -44,2 +44,3 @@ import * as THREE from "three";

private readonly scaleFactor;
private readonly invisibleBoxes;
private colors;

@@ -46,0 +47,0 @@ constructor(components: Components, updateInterval?: number, rtWidth?: number, rtHeight?: number, autoUpdate?: boolean);

@@ -30,2 +30,3 @@ import * as THREE from "three";

this.scaleFactor = 0.00001;
this.invisibleBoxes = new Set();
this.colors = { r: 0, g: 0, b: 0, i: 0 };

@@ -189,5 +190,12 @@ this.updateVisibility = (force) => {

continue;
const isVisible = proxy.index < proxy.mesh.count;
const id = `${fragID}-${proxy.index}`;
const isVisible = !this.invisibleBoxes.has(id);
if (isVisible === visible)
continue;
if (visible) {
this.invisibleBoxes.delete(id);
}
else {
this.invisibleBoxes.add(id);
}
proxy.mesh.getMatrixAt(proxy.index, tempMatrix);

@@ -194,0 +202,0 @@ tempMatrix.premultiply(scaleMatrix);

2

package.json
{
"name": "openbim-components",
"main": "dist/index.js",
"version": "0.0.30",
"version": "0.0.31",
"packageManager": "yarn@3.2.1",

@@ -6,0 +6,0 @@ "scripts": {

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