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

three-to-cannon

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-to-cannon - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -13,2 +13,4 @@ var CANNON = require('cannon'),

// TEST TEST TEST TEST
/**

@@ -324,3 +326,3 @@ * Given a THREE.Object3D instance, creates a corresponding CANNON shape.

}
return geometry.attributes.position.array;
return (geometry.attributes.position || {}).array || [];
}

@@ -327,0 +329,0 @@

{
"name": "three-to-cannon",
"version": "1.0.0",
"version": "1.0.1",
"description": "Convert a THREE.Mesh to a CANNON.Shape.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"postversion": "git push && git push --tags && npm publish"
},

@@ -27,5 +28,5 @@ "repository": {

"homepage": "https://github.com/donmccurdy/three-to-cannon#readme",
"dependencies": {
"cannon": "^0.6.2"
"peerDependencies": {
"cannon": "github:schteppe/cannon.js#v0.6.2-dev1"
}
}
# three-to-cannon
Convert a THREE.Mesh to a CANNON.Shape.
Convert a THREE.Mesh to a CANNON.Shape, and optional optimizations with simplified shapes.

@@ -5,0 +5,0 @@ ## Usage

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