diff --git a/README.md b/README.md index 043d88ea..9929f1d2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ The AltspaceVR SDK can be used together with [three.js] to create holographic, multi-user web apps for virtual reality. When running inside [AltspaceVR](http://altvr.com/) they can be experienced with consumer VR hardware including the Oculus Rift DK2. -**Latest Version: v0.7.0 -- [See Changes](https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v0.7.0)** +**Latest Version: v0.8.0 -- [See Changes](https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v0.8.0)** 0;)u in n?n[s]=n[u]:delete n[s],s+=h,u+=h;return n}},{"./$.to-index":76,"./$.to-length":79,"./$.to-object":80}],6:[function(t,e,n){"use strict";var r=t("./$.to-object"),o=t("./$.to-index"),i=t("./$.to-length");e.exports=[].fill||function(t){for(var e=r(this),n=i(e.length),a=arguments,s=a.length,u=o(s>1?a[1]:void 0,n),c=s>2?a[2]:void 0,l=void 0===c?n:o(c,n);l>u;)e[u++]=t;return e}},{"./$.to-index":76,"./$.to-length":79,"./$.to-object":80}],7:[function(t,e,n){var r=t("./$.to-iobject"),o=t("./$.to-length"),i=t("./$.to-index");e.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l;return!t&&-1}}},{"./$.to-index":76,"./$.to-iobject":78,"./$.to-length":79}],8:[function(t,e,n){var r=t("./$.ctx"),o=t("./$.iobject"),i=t("./$.to-object"),a=t("./$.to-length"),s=t("./$.array-species-create");e.exports=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,l=6==t,f=5==t||l;return function(h,p,d){for(var g,v,b=i(h),m=o(b),y=r(p,d,3),w=a(m.length),$=0,x=e?s(h,w):n?s(h,0):void 0;w>$;$++)if((f||$ in m)&&(g=m[$],v=y(g,$,b),t))if(e)x[$]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return $;case 2:x.push(g)}else if(c)return!1;return l?-1:u||c?c:x}}},{"./$.array-species-create":9,"./$.ctx":17,"./$.iobject":34,"./$.to-length":79,"./$.to-object":80}],9:[function(t,e,n){var r=t("./$.is-object"),o=t("./$.is-array"),i=t("./$.wks")("species");e.exports=function(t,e){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&(n=n[i],null===n&&(n=void 0))),new(void 0===n?Array:n)(e)}},{"./$.is-array":36,"./$.is-object":38,"./$.wks":83}],10:[function(t,e,n){var r=t("./$.cof"),o=t("./$.wks")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=(e=Object(t))[o])?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},{"./$.cof":11,"./$.wks":83}],11:[function(t,e,n){var r={}.toString;e.exports=function(t){return r.call(t).slice(8,-1)}},{}],12:[function(t,e,n){"use strict";var r=t("./$"),o=t("./$.hide"),i=t("./$.redefine-all"),a=t("./$.ctx"),s=t("./$.strict-new"),u=t("./$.defined"),c=t("./$.for-of"),l=t("./$.iter-define"),f=t("./$.iter-step"),h=t("./$.uid")("id"),p=t("./$.has"),d=t("./$.is-object"),g=t("./$.set-species"),v=t("./$.descriptors"),b=Object.isExtensible||d,m=v?"_s":"size",y=0,w=function(t,e){if(!d(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!p(t,h)){if(!b(t))return"F";if(!e)return"E";o(t,h,++y)}return"O"+t[h]},$=function(t,e){var n,r=w(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};e.exports={getConstructor:function(t,e,n,o){var l=t(function(t,i){s(t,l,e),t._i=r.create(null),t._f=void 0,t._l=void 0,t[m]=0,void 0!=i&&c(i,n,t[o],t)});return i(l.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[m]=0},"delete":function(t){var e=this,n=$(e,t);if(n){var r=n.n,o=n.p;delete e._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),e._f==n&&(e._f=r),e._l==n&&(e._l=o),e[m]--}return!!n},forEach:function(t){for(var e,n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!$(this,t)}}),v&&r.setDesc(l.prototype,"size",{get:function(){return u(this[m])}}),l},def:function(t,e,n){var r,o,i=$(t,e);return i?i.v=n:(t._l=i={i:o=w(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[m]++,"F"!==o&&(t._i[o]=i)),t},getEntry:$,setStrong:function(t,e,n){l(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?f(0,n.k):"values"==e?f(0,n.v):f(0,[n.k,n.v]):(t._t=void 0,f(1))},n?"entries":"values",!n,!0),g(e)}}},{"./$":46,"./$.ctx":17,"./$.defined":18,"./$.descriptors":19,"./$.for-of":27,"./$.has":30,"./$.hide":31,"./$.is-object":38,"./$.iter-define":42,"./$.iter-step":44,"./$.redefine-all":60,"./$.set-species":65,"./$.strict-new":69,"./$.uid":82}],13:[function(t,e,n){var r=t("./$.for-of"),o=t("./$.classof");e.exports=function(t){return function(){if(o(this)!=t)throw TypeError(t+"#toJSON isn't generic");var e=[];return r(this,!1,e.push,e),e}}},{"./$.classof":10,"./$.for-of":27}],14:[function(t,e,n){"use strict";var r=t("./$.hide"),o=t("./$.redefine-all"),i=t("./$.an-object"),a=t("./$.is-object"),s=t("./$.strict-new"),u=t("./$.for-of"),c=t("./$.array-methods"),l=t("./$.has"),f=t("./$.uid")("weak"),h=Object.isExtensible||a,p=c(5),d=c(6),g=0,v=function(t){return t._l||(t._l=new b)},b=function(){this.a=[]},m=function(t,e){return p(t.a,function(t){return t[0]===e})};b.prototype={get:function(t){var e=m(this,t);return e?e[1]:void 0},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},"delete":function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},e.exports={getConstructor:function(t,e,n,r){var i=t(function(t,o){s(t,i,e),t._i=g++,t._l=void 0,void 0!=o&&u(o,n,t[r],t)});return o(i.prototype,{"delete":function(t){return a(t)?h(t)?l(t,f)&&l(t[f],this._i)&&delete t[f][this._i]:v(this)["delete"](t):!1},has:function(t){return a(t)?h(t)?l(t,f)&&l(t[f],this._i):v(this).has(t):!1}}),i},def:function(t,e,n){return h(i(e))?(l(e,f)||r(e,f,{}),e[f][t._i]=n):v(t).set(e,n),t},frozenStore:v,WEAK:f}},{"./$.an-object":4,"./$.array-methods":8,"./$.for-of":27,"./$.has":30,"./$.hide":31,"./$.is-object":38,"./$.redefine-all":60,"./$.strict-new":69,"./$.uid":82}],15:[function(t,e,n){"use strict";var r=t("./$.global"),o=t("./$.export"),i=t("./$.redefine"),a=t("./$.redefine-all"),s=t("./$.for-of"),u=t("./$.strict-new"),c=t("./$.is-object"),l=t("./$.fails"),f=t("./$.iter-detect"),h=t("./$.set-to-string-tag");e.exports=function(t,e,n,p,d,g){var v=r[t],b=v,m=d?"set":"add",y=b&&b.prototype,w={},$=function(t){var e=y[t];i(y,t,"delete"==t?function(t){return g&&!c(t)?!1:e.call(this,0===t?0:t)}:"has"==t?function(t){return g&&!c(t)?!1:e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!c(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||y.forEach&&!l(function(){(new b).entries().next()}))){var x,E=new b,j=E[m](g?{}:-0,1)!=E,k=l(function(){E.has(1)}),F=f(function(t){new b(t)});F||(b=e(function(e,n){u(e,b,t);var r=new v;return void 0!=n&&s(n,d,r[m],r),r}),b.prototype=y,y.constructor=b),g||E.forEach(function(t,e){x=1/e===-(1/0)}),(k||x)&&($("delete"),$("has"),d&&$("get")),(x||j)&&$(m),g&&y.clear&&delete y.clear}else b=p.getConstructor(e,t,d,m),a(b.prototype,n);return h(b,t),w[t]=b,o(o.G+o.W+o.F*(b!=v),w),g||p.setStrong(b,t,d),b}},{"./$.export":22,"./$.fails":24,"./$.for-of":27,"./$.global":29,"./$.is-object":38,"./$.iter-detect":43,"./$.redefine":61,"./$.redefine-all":60,"./$.set-to-string-tag":66,"./$.strict-new":69}],16:[function(t,e,n){var r=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=r)},{}],17:[function(t,e,n){var r=t("./$.a-function");e.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},{"./$.a-function":2}],18:[function(t,e,n){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],19:[function(t,e,n){e.exports=!t("./$.fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./$.fails":24}],20:[function(t,e,n){var r=t("./$.is-object"),o=t("./$.global").document,i=r(o)&&r(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./$.global":29,"./$.is-object":38}],21:[function(t,e,n){var r=t("./$");e.exports=function(t){var e=r.getKeys(t),n=r.getSymbols;if(n)for(var o,i=n(t),a=r.isEnum,s=0;i.length>s;)a.call(t,o=i[s++])&&e.push(o);return e}},{"./$":46}],22:[function(t,e,n){var r=t("./$.global"),o=t("./$.core"),i=t("./$.hide"),a=t("./$.redefine"),s=t("./$.ctx"),u="prototype",c=function(t,e,n){var l,f,h,p,d=t&c.F,g=t&c.G,v=t&c.S,b=t&c.P,m=t&c.B,y=g?r:v?r[e]||(r[e]={}):(r[e]||{})[u],w=g?o:o[e]||(o[e]={}),$=w[u]||(w[u]={});g&&(n=e);for(l in n)f=!d&&y&&l in y,h=(f?y:n)[l],p=m&&f?s(h,r):b&&"function"==typeof h?s(Function.call,h):h,y&&!f&&a(y,l,h),w[l]!=h&&i(w,l,p),b&&$[l]!=h&&($[l]=h)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},{"./$.core":16,"./$.ctx":17,"./$.global":29,"./$.hide":31,"./$.redefine":61}],23:[function(t,e,n){var r=t("./$.wks")("match");e.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(o){}}return!0}},{"./$.wks":83}],24:[function(t,e,n){e.exports=function(t){try{return!!t()}catch(e){return!0}}},{}],25:[function(t,e,n){"use strict";var r=t("./$.hide"),o=t("./$.redefine"),i=t("./$.fails"),a=t("./$.defined"),s=t("./$.wks");e.exports=function(t,e,n){var u=s(t),c=""[t];i(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,n(a,u,c)),r(RegExp.prototype,u,2==e?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)}))}},{"./$.defined":18,"./$.fails":24,"./$.hide":31,"./$.redefine":61,"./$.wks":83}],26:[function(t,e,n){"use strict";var r=t("./$.an-object");e.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{"./$.an-object":4}],27:[function(t,e,n){var r=t("./$.ctx"),o=t("./$.iter-call"),i=t("./$.is-array-iter"),a=t("./$.an-object"),s=t("./$.to-length"),u=t("./core.get-iterator-method");e.exports=function(t,e,n,c){var l,f,h,p=u(t),d=r(n,c,e?2:1),g=0;if("function"!=typeof p)throw TypeError(t+" is not iterable!");if(i(p))for(l=s(t.length);l>g;g++)e?d(a(f=t[g])[0],f[1]):d(t[g]);else for(h=p.call(t);!(f=h.next()).done;)o(h,d,f.value,e)}},{"./$.an-object":4,"./$.ctx":17,"./$.is-array-iter":35,"./$.iter-call":40,"./$.to-length":79,"./core.get-iterator-method":84}],28:[function(t,e,n){var r=t("./$.to-iobject"),o=t("./$").getNames,i={}.toString,a="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(e){return a.slice()}};e.exports.get=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},{"./$":46,"./$.to-iobject":78}],29:[function(t,e,n){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],30:[function(t,e,n){var r={}.hasOwnProperty;e.exports=function(t,e){return r.call(t,e)}},{}],31:[function(t,e,n){var r=t("./$"),o=t("./$.property-desc");e.exports=t("./$.descriptors")?function(t,e,n){return r.setDesc(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},{"./$":46,"./$.descriptors":19,"./$.property-desc":59}],32:[function(t,e,n){e.exports=t("./$.global").document&&document.documentElement},{"./$.global":29}],33:[function(t,e,n){e.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},{}],34:[function(t,e,n){var r=t("./$.cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},{"./$.cof":11}],35:[function(t,e,n){var r=t("./$.iterators"),o=t("./$.wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},{"./$.iterators":45,"./$.wks":83}],36:[function(t,e,n){var r=t("./$.cof");e.exports=Array.isArray||function(t){return"Array"==r(t)}},{"./$.cof":11}],37:[function(t,e,n){var r=t("./$.is-object"),o=Math.floor;e.exports=function(t){ -return!r(t)&&isFinite(t)&&o(t)===t}},{"./$.is-object":38}],38:[function(t,e,n){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],39:[function(t,e,n){var r=t("./$.is-object"),o=t("./$.cof"),i=t("./$.wks")("match");e.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},{"./$.cof":11,"./$.is-object":38,"./$.wks":83}],40:[function(t,e,n){var r=t("./$.an-object");e.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(i){var a=t["return"];throw void 0!==a&&r(a.call(t)),i}}},{"./$.an-object":4}],41:[function(t,e,n){"use strict";var r=t("./$"),o=t("./$.property-desc"),i=t("./$.set-to-string-tag"),a={};t("./$.hide")(a,t("./$.wks")("iterator"),function(){return this}),e.exports=function(t,e,n){t.prototype=r.create(a,{next:o(1,n)}),i(t,e+" Iterator")}},{"./$":46,"./$.hide":31,"./$.property-desc":59,"./$.set-to-string-tag":66,"./$.wks":83}],42:[function(t,e,n){"use strict";var r=t("./$.library"),o=t("./$.export"),i=t("./$.redefine"),a=t("./$.hide"),s=t("./$.has"),u=t("./$.iterators"),c=t("./$.iter-create"),l=t("./$.set-to-string-tag"),f=t("./$").getProto,h=t("./$.wks")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",g="keys",v="values",b=function(){return this};e.exports=function(t,e,n,m,y,w,$){c(n,e,m);var x,E,j=function(t){if(!p&&t in _)return _[t];switch(t){case g:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",F=y==v,S=!1,_=t.prototype,A=_[h]||_[d]||y&&_[y],O=A||j(y);if(A){var T=f(O.call(new t));l(T,k,!0),!r&&s(_,d)&&a(T,h,b),F&&A.name!==v&&(S=!0,O=function(){return A.call(this)})}if(r&&!$||!p&&!S&&_[h]||a(_,h,O),u[e]=O,u[k]=b,y)if(x={values:F?O:j(v),keys:w?O:j(g),entries:F?j("entries"):O},$)for(E in x)E in _||i(_,E,x[E]);else o(o.P+o.F*(p||S),e,x);return x}},{"./$":46,"./$.export":22,"./$.has":30,"./$.hide":31,"./$.iter-create":41,"./$.iterators":45,"./$.library":48,"./$.redefine":61,"./$.set-to-string-tag":66,"./$.wks":83}],43:[function(t,e,n){var r=t("./$.wks")("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(a){}e.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){n=!0},i[r]=function(){return a},t(i)}catch(s){}return n}},{"./$.wks":83}],44:[function(t,e,n){e.exports=function(t,e){return{value:e,done:!!t}}},{}],45:[function(t,e,n){e.exports={}},{}],46:[function(t,e,n){var r=Object;e.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},{}],47:[function(t,e,n){var r=t("./$"),o=t("./$.to-iobject");e.exports=function(t,e){for(var n,i=o(t),a=r.getKeys(i),s=a.length,u=0;s>u;)if(i[n=a[u++]]===e)return n}},{"./$":46,"./$.to-iobject":78}],48:[function(t,e,n){e.exports=!1},{}],49:[function(t,e,n){e.exports=Math.expm1||function(t){return 0==(t=+t)?t:t>-1e-6&&1e-6>t?t+t*t/2:Math.exp(t)-1}},{}],50:[function(t,e,n){e.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&1e-8>t?t-t*t/2:Math.log(1+t)}},{}],51:[function(t,e,n){e.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:0>t?-1:1}},{}],52:[function(t,e,n){var r,o,i,a=t("./$.global"),s=t("./$.task").set,u=a.MutationObserver||a.WebKitMutationObserver,c=a.process,l=a.Promise,f="process"==t("./$.cof")(c),h=function(){var t,e,n;for(f&&(t=c.domain)&&(c.domain=null,t.exit());r;)e=r.domain,n=r.fn,e&&e.enter(),n(),e&&e.exit(),r=r.next;o=void 0,t&&t.enter()};if(f)i=function(){c.nextTick(h)};else if(u){var p=1,d=document.createTextNode("");new u(h).observe(d,{characterData:!0}),i=function(){d.data=p=-p}}else i=l&&l.resolve?function(){l.resolve().then(h)}:function(){s.call(a,h)};e.exports=function(t){var e={fn:t,next:void 0,domain:f&&c.domain};o&&(o.next=e),r||(r=e,i()),o=e}},{"./$.cof":11,"./$.global":29,"./$.task":75}],53:[function(t,e,n){var r=t("./$"),o=t("./$.to-object"),i=t("./$.iobject");e.exports=t("./$.fails")(function(){var t=Object.assign,e={},n={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach(function(t){n[t]=t}),7!=t({},e)[r]||Object.keys(t({},n)).join("")!=o})?function(t,e){for(var n=o(t),a=arguments,s=a.length,u=1,c=r.getKeys,l=r.getSymbols,f=r.isEnum;s>u;)for(var h,p=i(a[u++]),d=l?c(p).concat(l(p)):c(p),g=d.length,v=0;g>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:Object.assign},{"./$":46,"./$.fails":24,"./$.iobject":34,"./$.to-object":80}],54:[function(t,e,n){var r=t("./$.export"),o=t("./$.core"),i=t("./$.fails");e.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},{"./$.core":16,"./$.export":22,"./$.fails":24}],55:[function(t,e,n){var r=t("./$"),o=t("./$.to-iobject"),i=r.isEnum;e.exports=function(t){return function(e){for(var n,a=o(e),s=r.getKeys(a),u=s.length,c=0,l=[];u>c;)i.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}}},{"./$":46,"./$.to-iobject":78}],56:[function(t,e,n){var r=t("./$"),o=t("./$.an-object"),i=t("./$.global").Reflect;e.exports=i&&i.ownKeys||function(t){var e=r.getNames(o(t)),n=r.getSymbols;return n?e.concat(n(t)):e}},{"./$":46,"./$.an-object":4,"./$.global":29}],57:[function(t,e,n){"use strict";var r=t("./$.path"),o=t("./$.invoke"),i=t("./$.a-function");e.exports=function(){for(var t=i(this),e=arguments.length,n=Array(e),a=0,s=r._,u=!1;e>a;)(n[a]=arguments[a++])===s&&(u=!0);return function(){var r,i=this,a=arguments,c=a.length,l=0,f=0;if(!u&&!c)return o(t,n,i);if(r=n.slice(),u)for(;e>l;l++)r[l]===s&&(r[l]=a[f++]);for(;c>f;)r.push(a[f++]);return o(t,r,i)}}},{"./$.a-function":2,"./$.invoke":33,"./$.path":58}],58:[function(t,e,n){e.exports=t("./$.global")},{"./$.global":29}],59:[function(t,e,n){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],60:[function(t,e,n){var r=t("./$.redefine");e.exports=function(t,e){for(var n in e)r(t,n,e[n]);return t}},{"./$.redefine":61}],61:[function(t,e,n){var r=t("./$.global"),o=t("./$.hide"),i=t("./$.uid")("src"),a="toString",s=Function[a],u=(""+s).split(a);t("./$.core").inspectSource=function(t){return s.call(t)},(e.exports=function(t,e,n,a){"function"==typeof n&&(n.hasOwnProperty(i)||o(n,i,t[e]?""+t[e]:u.join(String(e))),n.hasOwnProperty("name")||o(n,"name",e)),t===r?t[e]=n:(a||delete t[e],o(t,e,n))})(Function.prototype,a,function(){return"function"==typeof this&&this[i]||s.call(this)})},{"./$.core":16,"./$.global":29,"./$.hide":31,"./$.uid":82}],62:[function(t,e,n){e.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},{}],63:[function(t,e,n){e.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},{}],64:[function(t,e,n){var r=t("./$").getDesc,o=t("./$.is-object"),i=t("./$.an-object"),a=function(t,e){if(i(t),!o(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,n,o){try{o=t("./$.ctx")(Function.call,r(Object.prototype,"__proto__").set,2),o(e,[]),n=!(e instanceof Array)}catch(i){n=!0}return function(t,e){return a(t,e),n?t.__proto__=e:o(t,e),t}}({},!1):void 0),check:a}},{"./$":46,"./$.an-object":4,"./$.ctx":17,"./$.is-object":38}],65:[function(t,e,n){"use strict";var r=t("./$.global"),o=t("./$"),i=t("./$.descriptors"),a=t("./$.wks")("species");e.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.setDesc(e,a,{configurable:!0,get:function(){return this}})}},{"./$":46,"./$.descriptors":19,"./$.global":29,"./$.wks":83}],66:[function(t,e,n){var r=t("./$").setDesc,o=t("./$.has"),i=t("./$.wks")("toStringTag");e.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},{"./$":46,"./$.has":30,"./$.wks":83}],67:[function(t,e,n){var r=t("./$.global"),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(t){return i[t]||(i[t]={})}},{"./$.global":29}],68:[function(t,e,n){var r=t("./$.an-object"),o=t("./$.a-function"),i=t("./$.wks")("species");e.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},{"./$.a-function":2,"./$.an-object":4,"./$.wks":83}],69:[function(t,e,n){e.exports=function(t,e,n){if(!(t instanceof e))throw TypeError(n+": use the 'new' operator!");return t}},{}],70:[function(t,e,n){var r=t("./$.to-integer"),o=t("./$.defined");e.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return 0>u||u>=c?t?"":void 0:(i=s.charCodeAt(u),55296>i||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):(i-55296<<10)+(a-56320)+65536)}}},{"./$.defined":18,"./$.to-integer":77}],71:[function(t,e,n){var r=t("./$.is-regexp"),o=t("./$.defined");e.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},{"./$.defined":18,"./$.is-regexp":39}],72:[function(t,e,n){var r=t("./$.to-length"),o=t("./$.string-repeat"),i=t("./$.defined");e.exports=function(t,e,n,a){var s=String(i(t)),u=s.length,c=void 0===n?" ":String(n),l=r(e);if(u>=l)return s;""==c&&(c=" ");var f=l-u,h=o.call(c,Math.ceil(f/c.length));return h.length>f&&(h=h.slice(0,f)),a?h+s:s+h}},{"./$.defined":18,"./$.string-repeat":73,"./$.to-length":79}],73:[function(t,e,n){"use strict";var r=t("./$.to-integer"),o=t("./$.defined");e.exports=function(t){var e=String(o(this)),n="",i=r(t);if(0>i||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},{"./$.defined":18,"./$.to-integer":77}],74:[function(t,e,n){var r=t("./$.export"),o=t("./$.defined"),i=t("./$.fails"),a=" \n \f\r   ᠎              \u2028\u2029\ufeff",s="["+a+"]",u="​…",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e){var n={};n[t]=e(h),r(r.P+r.F*i(function(){return!!a[t]()||u[t]()!=u}),"String",n)},h=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};e.exports=f},{"./$.defined":18,"./$.export":22,"./$.fails":24}],75:[function(t,e,n){var r,o,i,a=t("./$.ctx"),s=t("./$.invoke"),u=t("./$.html"),c=t("./$.dom-create"),l=t("./$.global"),f=l.process,h=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,g=0,v={},b="onreadystatechange",m=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){m.call(t.data)};h&&p||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},p=function(t){delete v[t]},"process"==t("./$.cof")(f)?r=function(t){f.nextTick(a(m,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=y,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r=b in c("script")?function(t){u.appendChild(c("script"))[b]=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),e.exports={set:h,clear:p}},{"./$.cof":11,"./$.ctx":17,"./$.dom-create":20,"./$.global":29,"./$.html":32,"./$.invoke":33}],76:[function(t,e,n){var r=t("./$.to-integer"),o=Math.max,i=Math.min;e.exports=function(t,e){return t=r(t),0>t?o(t+e,0):i(t,e)}},{"./$.to-integer":77}],77:[function(t,e,n){var r=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},{}],78:[function(t,e,n){var r=t("./$.iobject"),o=t("./$.defined");e.exports=function(t){return r(o(t))}},{"./$.defined":18,"./$.iobject":34}],79:[function(t,e,n){var r=t("./$.to-integer"),o=Math.min;e.exports=function(t){return t>0?o(r(t),9007199254740991):0}},{"./$.to-integer":77}],80:[function(t,e,n){var r=t("./$.defined");e.exports=function(t){return Object(r(t))}},{"./$.defined":18}],81:[function(t,e,n){var r=t("./$.is-object");e.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},{"./$.is-object":38}],82:[function(t,e,n){var r=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+o).toString(36))}},{}],83:[function(t,e,n){var r=t("./$.shared")("wks"),o=t("./$.uid"),i=t("./$.global").Symbol;e.exports=function(t){return r[t]||(r[t]=i&&i[t]||(i||o)("Symbol."+t))}},{"./$.global":29,"./$.shared":67,"./$.uid":82}],84:[function(t,e,n){var r=t("./$.classof"),o=t("./$.wks")("iterator"),i=t("./$.iterators");e.exports=t("./$.core").getIteratorMethod=function(t){return void 0!=t?t[o]||t["@@iterator"]||i[r(t)]:void 0}},{"./$.classof":10,"./$.core":16,"./$.iterators":45,"./$.wks":83}],85:[function(t,e,n){"use strict";var r,o=t("./$"),i=t("./$.export"),a=t("./$.descriptors"),s=t("./$.property-desc"),u=t("./$.html"),c=t("./$.dom-create"),l=t("./$.has"),f=t("./$.cof"),h=t("./$.invoke"),p=t("./$.fails"),d=t("./$.an-object"),g=t("./$.a-function"),v=t("./$.is-object"),b=t("./$.to-object"),m=t("./$.to-iobject"),y=t("./$.to-integer"),w=t("./$.to-index"),$=t("./$.to-length"),x=t("./$.iobject"),E=t("./$.uid")("__proto__"),j=t("./$.array-methods"),k=t("./$.array-includes")(!1),F=Object.prototype,S=Array.prototype,_=S.slice,A=S.join,O=o.setDesc,T=o.getDesc,C=o.setDescs,M={};a||(r=!p(function(){return 7!=O(c("div"),"a",{get:function(){return 7}}).a}),o.setDesc=function(t,e,n){if(r)try{return O(t,e,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(d(t)[e]=n.value),t},o.getDesc=function(t,e){if(r)try{return T(t,e)}catch(n){}return l(t,e)?s(!F.propertyIsEnumerable.call(t,e),t[e]):void 0},o.setDescs=C=function(t,e){d(t);for(var n,r=o.getKeys(e),i=r.length,a=0;i>a;)o.setDesc(t,n=r[a++],e[n]);return t}),i(i.S+i.F*!a,"Object",{getOwnPropertyDescriptor:o.getDesc,defineProperty:o.setDesc,defineProperties:C});var R="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),P=R.concat("length","prototype"),D=R.length,N=function(){var t,e=c("iframe"),n=D,r=">";for(e.style.display="none",u.appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(" + + + + + + + + + + + + + + + +
+ +

SteamVRInput

+ + + + + + + +
+ +
+ +

+ altspace/utilities/behaviors. + + SteamVRInput +

+ + +
+ +
+
+ + + + + +

new SteamVRInput()

+ + + + + +
+

The SteamVRInput behavior manages SteamVR input devices. It should be added +to the ThreeJS scene and is required to use SteamVRTrackedObject

+
+ + + + + + + + + + + + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
leftController + + +Gamepad + + + +

the left SteamVR Gamepad or undefined if one has not yet been found

rightController + + +Gamepad + + + +

the right SteamVR Gamepad or undefined if one has not yet been found

firstController + + +Gamepad + + + +

the first SteamVR Gamepad or undefined if none have yet been found

leftControllerPromise + + +Promise + + + +

a promise that resolves once the left SteamVR input device is found

rightControllerPromise + + +Promise + + + +

a promise that resolves once the right SteamVR input device is found

firstControllerPromise + + +Promise + + + +

a promise that resolves once any SteamVR input device is found

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ + + + + + + \ No newline at end of file diff --git a/doc/behaviors.SteamVRTrackedObject.html b/doc/behaviors.SteamVRTrackedObject.html new file mode 100644 index 00000000..6c664307 --- /dev/null +++ b/doc/behaviors.SteamVRTrackedObject.html @@ -0,0 +1,302 @@ + + + + + SteamVRTrackedObject - Documentation + + + + + + + + + + + + + + + + + +
+ +

SteamVRTrackedObject

+ + + + + + + +
+ +
+ +

+ altspace/utilities/behaviors. + + SteamVRTrackedObject +

+ + +
+ +
+
+ + + + + +

new SteamVRTrackedObject(configopt)

+ + + + + +
+

The SteamVRTrackedObject behavior updates an objects position and rotation to +match the location of a SteamVR input device.

+

A SteamVRInput behavior +must be on the scene containing this object for it to function properly.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
config + + +Object + + + + + + <optional>
+ + + + + +
+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDefaultDescription
hand + + +string + + + + + + <optional>
+ + + + + +
+ + "first" + +

the input device to track. Eitehr SteamVRInput.LEFT_CONTROLLER, SteamVRInput.RIGHT_CONTROLLER, or SteamVRInput.FIRST_CONTROLLER

+ +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ + + + + + + \ No newline at end of file diff --git a/doc/behaviors.html b/doc/behaviors.html index feb96604..79f014b2 100644 --- a/doc/behaviors.html +++ b/doc/behaviors.html @@ -23,7 +23,7 @@
@@ -87,6 +87,12 @@

Classes

Spin
+ +
SteamVRInput
+
+ +
SteamVRTrackedObject
+
@@ -162,6 +168,12 @@

Classes

Spin
+ +
SteamVRInput
+
+ +
SteamVRTrackedObject
+
diff --git a/doc/bubbling.html b/doc/bubbling.html index e03c7a1b..887bf931 100644 --- a/doc/bubbling.html +++ b/doc/bubbling.html @@ -23,7 +23,7 @@
diff --git a/doc/codePen.html b/doc/codePen.html index c70b6d0d..d64a78ba 100644 --- a/doc/codePen.html +++ b/doc/codePen.html @@ -23,7 +23,7 @@
diff --git a/doc/cursor.html b/doc/cursor.html index bc440172..0ebc941f 100644 --- a/doc/cursor.html +++ b/doc/cursor.html @@ -23,7 +23,7 @@
diff --git a/doc/index.html b/doc/index.html index 4a9801f8..b8210f6b 100644 --- a/doc/index.html +++ b/doc/index.html @@ -23,7 +23,7 @@
@@ -49,7 +49,7 @@

Home

Modules