Skip to content

Commit

Permalink
Last commit before release
Browse files Browse the repository at this point in the history
  • Loading branch information
nickw1 committed May 8, 2021
1 parent c6661e2 commit aaad984
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 3.3.3

- Fixed bug which prevents `minDistance` and `maxDistance` working with a simulated location

- Fixed typo in name of `gps-entity-place-update-position` event

# 3.3.2

- Fixed bug in `arjs-webcam-texture component` which caused the webcam stream to freeze on iOS. Thanks to @stevenlybeck for this.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Please import the one you need for your project, not both:
You can also import a specific version replacing `master` keyword with version tag:

```html
<script src="https://raw.githack.com/AR-js-org/AR.js/3.3.2/aframe/build/aframe-ar-nft.js">
<script src="https://raw.githack.com/AR-js-org/AR.js/3.3.3/aframe/build/aframe-ar-nft.js">
```
## Get started
Expand Down
4 changes: 2 additions & 2 deletions aframe/build/aframe-ar-location-only.js
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ AFRAME.registerComponent('gps-entity-place', {

this.el.setAttribute('distance', distanceForMsg);
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));

var actualDistance = this._cameraGps.computeDistanceMeters(ev.detail.position, dstCoords, true);

Expand Down Expand Up @@ -1807,7 +1807,7 @@ AFRAME.registerComponent('gps-projected-entity-place', {
this.el.setAttribute('distance', distanceForMsg);
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));

this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));

var actualDistance = this._cameraGps.computeDistanceMeters(dstCoords, true);

Expand Down
6 changes: 3 additions & 3 deletions aframe/build/aframe-ar-nft.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions aframe/build/aframe-ar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aframe/src/location-based/gps-entity-place.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ AFRAME.registerComponent('gps-entity-place', {

this.el.setAttribute('distance', distanceForMsg);
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));

var actualDistance = this._cameraGps.computeDistanceMeters(ev.detail.position, dstCoords, true);

Expand Down
2 changes: 1 addition & 1 deletion aframe/src/location-based/gps-projected-entity-place.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ AFRAME.registerComponent('gps-projected-entity-place', {
this.el.setAttribute('distance', distanceForMsg);
this.el.setAttribute('distanceMsg', formatDistance(distanceForMsg));

this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-positon', { detail: { distance: distanceForMsg } }));
this.el.dispatchEvent(new CustomEvent('gps-entity-place-update-position', { detail: { distance: distanceForMsg } }));

var actualDistance = this._cameraGps.computeDistanceMeters(dstCoords, true);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ar.js",
"version": "3.3.2",
"version": "3.3.3",
"description": "Efficient Augmented Reality for the Web",
"main": "./aframe/build/aframe-ar.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion three.js/build/ar-nft.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion three.js/build/ar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion three.js/src/threex/threex-artoolkitcontext-nft.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Object.assign(ARjs.Context.prototype, THREE.EventDispatcher.prototype);

// default to github page
ARjs.Context.baseURL = 'https://ar-js-org.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '3.3.2';
ARjs.Context.REVISION = '3.3.3';

/**
* Create a default camera for this trackingBackend
Expand Down
2 changes: 1 addition & 1 deletion three.js/src/threex/threex-artoolkitcontext.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Object.assign(ARjs.Context.prototype, THREE.EventDispatcher.prototype);

// default to github page
ARjs.Context.baseURL = 'https://ar-js-org.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '3.3.2';
ARjs.Context.REVISION = '3.3.3';

/**
* Create a default camera for this trackingBackend
Expand Down

0 comments on commit aaad984

Please sign in to comment.