Socket
Socket
Sign inDemoInstall

gltf-bounding-box

Package Overview
Dependencies
2
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"name": "gltf-bounding-box",
"version": "0.2.1",
"version": "0.2.2",
"description": "Computes the global bounding box of a gltf model",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -20,3 +20,3 @@ "use strict";

const positions = [];
let positions = [];
mesh.primitives.forEach((primitive) => {

@@ -26,3 +26,3 @@ // Attributes

positions.push(...gltfReader._loadAccessor(
positions = positions.concat(gltfReader._loadAccessor(
gltf,

@@ -29,0 +29,0 @@ primitive.attributes.POSITION,

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc