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

babylon-navigation-mesh

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babylon-navigation-mesh - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

10

lib-es5/Navigation.js

@@ -110,2 +110,10 @@ "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));
return proj;
},
_getProjectionOnNode: function _getProjectionOnNode(position, node, vertices) {

@@ -124,3 +132,3 @@

};
var p = position.projectOnPlane(plane);
var p = this._projectPointOnPlane(position, plane);
// Compute barycentric coordinates (u, v, w) for

@@ -127,0 +135,0 @@ // point p with respect to triangle (a, b, c)

@@ -111,2 +111,10 @@ "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));
return proj;
},
_getProjectionOnNode: function(position, node, vertices) {

@@ -125,3 +133,3 @@

};
var p = position.projectOnPlane(plane);
var p = this._projectPointOnPlane(position, plane);
// Compute barycentric coordinates (u, v, w) for

@@ -128,0 +136,0 @@ // point p with respect to triangle (a, b, c)

2

package.json
{
"name": "babylon-navigation-mesh",
"version": "1.2.2",
"version": "1.2.3",
"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

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