提交 8025f378 编写于 作者: J Jerome Etienne

Last commit before release

上级 390ac634
build: build:
(cd three.js && make build) && (cd aframe && make build) && (cd webvr-polyfill && make build) cd three.js && make build
cd aframe && make build
cd babylon.js && make build
cd webvr-polyfill && make build
minify: minify:
(cd three.js && make minify) && (cd aframe && make minify) && (cd webvr-polyfill && make minify) cd three.js && make minify
cd aframe && make minify
cd babylon.js && make minify
cd webvr-polyfill && make minify
.PHONY: test .PHONY: test
test: test:
......
...@@ -232,10 +232,10 @@ This one is mainly for [me](@jerome_etienne) to remember :) ...@@ -232,10 +232,10 @@ This one is mainly for [me](@jerome_etienne) to remember :)
```bash ```bash
# replace REVISION to the proper version # replace REVISION to the proper version
atom three.js/src/threex-artoolkitcontext.js package.json atom three.js/src/threex/threex-artoolkitcontext.js package.json
# Rebuild a-frame and webvr-polyfill # Rebuild a-frame and webvr-polyfill
make build make minify
# Commit everything # Commit everything
git add . && git commit -a -m 'Last commit before release' git add . && git commit -a -m 'Last commit before release'
......
...@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype ); ...@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../' // ARjs.Context.baseURL = '../'
// default to github page // default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/' ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.4.10' ARjs.Context.REVISION = '1.5.0'
...@@ -6903,6 +6903,21 @@ ARjs.HitTesting.Result.prototype.applyPosition = function(object3d){ ...@@ -6903,6 +6903,21 @@ ARjs.HitTesting.Result.prototype.applyPosition = function(object3d){
object3d.position.copy(this.position) object3d.position.copy(this.position)
object3d.updateMatrix() object3d.updateMatrix()
return this
}
/**
* Apply to a controlled object3d
*
* @param {THREE.Object3D} object3d - the result to apply
*/
ARjs.HitTesting.Result.prototype.applyQuaternion = function(object3d){
object3d.quaternion.copy(this.quaternion)
object3d.updateMatrix()
return this
} }
var ARjs = ARjs || {} var ARjs = ARjs || {}
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -49315,7 +49315,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype ); ...@@ -49315,7 +49315,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../' // ARjs.Context.baseURL = '../'
// default to github page // default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/' ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.4.10' ARjs.Context.REVISION = '1.5.0'
此差异已折叠。
{ {
"name": "ar.js", "name": "ar.js",
"version": "1.4.10", "version": "1.5.0",
"description": "Efficient Augmented Reality for the Web", "description": "Efficient Augmented Reality for the Web",
"main": "three.js", "main": "three.js",
"scripts": { "scripts": {
......
...@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype ); ...@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../' // ARjs.Context.baseURL = '../'
// default to github page // default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/' ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.4.10' ARjs.Context.REVISION = '1.5.0'
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -73,7 +73,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype ); ...@@ -73,7 +73,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../' // ARjs.Context.baseURL = '../'
// default to github page // default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/' ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.4.10' ARjs.Context.REVISION = '1.5.0'
......
...@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype ); ...@@ -5205,7 +5205,7 @@ Object.assign( ARjs.Context.prototype, THREE.EventDispatcher.prototype );
// ARjs.Context.baseURL = '../' // ARjs.Context.baseURL = '../'
// default to github page // default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/' ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '1.4.10' ARjs.Context.REVISION = '1.5.0'
...@@ -6903,6 +6903,21 @@ ARjs.HitTesting.Result.prototype.applyPosition = function(object3d){ ...@@ -6903,6 +6903,21 @@ ARjs.HitTesting.Result.prototype.applyPosition = function(object3d){
object3d.position.copy(this.position) object3d.position.copy(this.position)
object3d.updateMatrix() object3d.updateMatrix()
return this
}
/**
* Apply to a controlled object3d
*
* @param {THREE.Object3D} object3d - the result to apply
*/
ARjs.HitTesting.Result.prototype.applyQuaternion = function(object3d){
object3d.quaternion.copy(this.quaternion)
object3d.updateMatrix()
return this
} }
var ARjs = ARjs || {} var ARjs = ARjs || {}
因为 它太大了无法显示 source diff 。你可以改为 查看blob
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册