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

optimesh

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optimesh - npm Package Compare versions

Comparing version 1.0.2 to 1.0.4

.babelrc

14

package.json
{
"name": "optimesh",
"version": "1.0.2",
"version": "1.0.4",
"description": "OptiMesh reduces meshes resolution to optimize performance, memory usage and download size",
"cdn": "https://cdn.jsdelivr.net/npm/optimesh@1.0.2/build/main.js",
"cdn": "https://cdn.jsdelivr.net/npm/optimesh@1.0.4/build/main.js",
"main": "build/main.js",

@@ -11,4 +11,5 @@ "jsnext:main": "build/main.module.js",

"build": "rollup -c",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint src"
"test": "jest src",
"lint": "eslint src",
"publish": "(git diff-index --quiet HEAD -- || echo \"There are uncommitted changes\";) && node --experimental-modules publish.mjs && npm publish && git add package.json && git commit -m \"bump and publish\""
},

@@ -18,2 +19,5 @@ "author": "DVLP",

"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/preset-env": "^7.6.3",
"rollup": "^1.25.0"

@@ -27,2 +31,2 @@ },

}
}
}
// BELOW FLAT ARRAYS MANAGER
const FIELDS_NO = 30;
const FIELDS_OVERSIZE = 500;
const OVERSIZE_CONTAINER_CAPACITY = 2000;
export const FIELDS_NO = 30;
export const FIELDS_OVERSIZE = 500;
export const OVERSIZE_CONTAINER_CAPACITY = 2000;

@@ -212,4 +212,3 @@ export function addToSBWithOversize(

}
function removeFromOversizeContainer(
export function removeFromOversizeContainer(
oversizeContainer,

@@ -278,3 +277,3 @@ oversizeContainerIndex,

function removeOversizedContainer(
export function removeOversizedContainer(
oversizeContainer,

@@ -294,3 +293,3 @@ oversizeContainerIndex,

function popOversizedContainer(
export function popOversizedContainer(
oversizeContainer,

@@ -297,0 +296,0 @@ oversizeContainerIndex,

@@ -1,12 +0,5 @@

// import cache from './Cache';
// import { BufferAttribute, BufferGeometry, ClampToEdgeWrapping, Geometry, Matrix3, Matrix4, Mesh, MeshBasicMaterial, Object3D, PerspectiveCamera, PlaneBufferGeometry,
// Raycaster, RepeatWrapping, Texture, Vector2, Vector3, WebGLRenderer, WebGLRenderTarget } from './_THREE';
// import Car from './Vehicle/Car';
// import Bridge from 'driver-bridge';
// import ObjectApp from './ObjectApp';
//
// build index and unique positions
// it's like indexed geometry but only index and positions attributes
// we'll us non-indexed geometry for other attributes to preserve all the details
// using non-indexed geometry for other attributes to preserve all the details
//

@@ -13,0 +6,0 @@

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