Comparing version 0.2.0 to 0.2.2
{ | ||
"name": "math3d", | ||
"version": "0.2.0", | ||
"version": "0.2.2", | ||
"description": "A nodejs library for 3D transformations similar to Unity3D containing necessary classes and functions for matrices, vectors, quaternions and transforms.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -42,3 +42,3 @@ /* | ||
function _getLocalRotationFromWorldRotation(transform) { | ||
if(!transform.parent === undefined) | ||
if(transform.parent === undefined) | ||
return transform.rotation; | ||
@@ -55,3 +55,3 @@ else | ||
function _getWorldRotationFromLocalRotation(transform) { | ||
if(!transform.parent === undefined) | ||
if(transform.parent === undefined) | ||
return transform.localRotation; | ||
@@ -58,0 +58,0 @@ else |
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
91027