babylon-navigation-mesh
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -111,5 +111,4 @@ "use strict"; | ||
_projectPointOnPlane: function _projectPointOnPlane(point, plane) { | ||
var proj = point.clone(); | ||
var coef = BABYLON.Vector3.Dot(point, plane.normal) + plane.d; | ||
proj.subtractInPlace(plane.normal.scale(coef)); | ||
var proj = point.subtract(plane.normal.scale(coef)); | ||
@@ -116,0 +115,0 @@ return proj; |
@@ -112,5 +112,4 @@ "use strict"; | ||
_projectPointOnPlane: function (point, plane) { | ||
var proj = point.clone(); | ||
var coef = BABYLON.Vector3.Dot(point, plane.normal) + plane.d; | ||
proj.subtractInPlace(plane.normal.scale(coef)); | ||
var proj = point.subtract(plane.normal.scale(coef)); | ||
@@ -117,0 +116,0 @@ return proj; |
{ | ||
"name": "babylon-navigation-mesh", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "A toolkit to move on navigation mesh with BABYLONJS", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
3394808
29919