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

viewar-guide

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewar-guide - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

package.json
{
"name": "viewar-guide",
"version": "0.8.0",
"version": "0.8.1",
"description": "ViewAR Guide",

@@ -5,0 +5,0 @@ "main": "dist/viewar-guide.js",

@@ -111,3 +111,3 @@ import Vector3 from './math/vector3'

*/
export const recalibrate = async({ userInput, body, camera }) => {
export const recalibrate = async({ navigation, userInput, body, camera }) => {
userInput.clearRecalibration();

@@ -141,2 +141,4 @@

navigation.recalculatePath();
return EPSILON;

@@ -143,0 +145,0 @@ }

@@ -22,2 +22,10 @@ import { NO_WAYPOINT } from '../../constants'

const recalculatePath = () => {
if (destination) {
path = findPathToPoi(destination)
previousPath = []
logPath(path);
}
}
const clearDestination = () => {

@@ -73,2 +81,3 @@ destination = null

update,
recalculatePath,

@@ -75,0 +84,0 @@ hasCurrentWaypoint () { return !!(destination && path[ 0 ]) },

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