three-to-cannon
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -186,3 +186,3 @@ var CANNON = require('cannon'), | ||
shape.orientation = new CANNON.Quaternion(); | ||
shape.orientation.setFromEuler(THREE.Math.degToRad(-90), 0, 0, 'XYZ').normalize(); | ||
shape.orientation.setFromEuler(THREE.Math.degToRad(90), 0, 0, 'XYZ').normalize(); | ||
return shape; | ||
@@ -189,0 +189,0 @@ } |
{ | ||
"name": "three-to-cannon", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Convert a THREE.Mesh to a CANNON.Shape.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25465