Skip to content

Commit

Permalink
1.0.0-alpha.9
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoElias committed Aug 15, 2018
1 parent 04b798b commit 94564cf
Show file tree
Hide file tree
Showing 52 changed files with 147 additions and 141 deletions.
28 changes: 10 additions & 18 deletions build/simbol.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -132065,7 +132065,7 @@ class Identity extends eventemitter3 {

this.uPort = new uport.Connect('Simbol', {
clientId: '2on1AwSMW48Asek7N5fT9aGf3voWqMkEAXJ',
network: 'rinkeby', // change to main net
network: 'rinkeby', // Change to main net
signer: uport.SimpleSigner('12856cfa7d87eca683cbccf3617c82c615b8cac4347db20b1874884c2bc6453d') // eslint-disable-line new-cap
});

Expand Down Expand Up @@ -139057,26 +139057,18 @@ class MultiVP extends eventemitter3 {
*
* @returns {undefined}
*/
animate(time) {
animate() {
for (const peerId of Object.keys(this.meshes)) {
const peerMesh = this.meshes[peerId];
if (peerId === 2) {
peerMesh.lookAt(this.vp.mesh);
peerMesh.position.set(
Math.cos(time * 0.0001) * 4,
0,
Math.sin(time * 0.0001) * 4
);
for (let i = 0; i < 3; i++) {
if (typeof peerMesh.position[i] !== 'number') {
peerMesh.position[i] = 0;
}
}
peerMesh.mesh.position.set(...peerMesh.position);
if (typeof peerMesh.rotation === 'number') {
peerMesh.mesh.rotation.y = peerMesh.rotation;
}
// for (let i = 0; i < 3; i++) {
// if (typeof peerMesh.position[i] !== 'number') {
// peerMesh.position[i] = 0;
// }
// }
// peerMesh.mesh.position.set(...peerMesh.position);
// if (typeof peerMesh.rotation === 'number') {
// peerMesh.mesh.rotation.y = peerMesh.rotation;
// }
}
}

Expand Down
2 changes: 1 addition & 1 deletion build/simbol.cjs.js.map

Large diffs are not rendered by default.

28 changes: 10 additions & 18 deletions build/simbol.js
Original file line number Diff line number Diff line change
Expand Up @@ -132061,7 +132061,7 @@ class Identity extends eventemitter3 {

this.uPort = new uport.Connect('Simbol', {
clientId: '2on1AwSMW48Asek7N5fT9aGf3voWqMkEAXJ',
network: 'rinkeby', // change to main net
network: 'rinkeby', // Change to main net
signer: uport.SimpleSigner('12856cfa7d87eca683cbccf3617c82c615b8cac4347db20b1874884c2bc6453d') // eslint-disable-line new-cap
});

Expand Down Expand Up @@ -139053,26 +139053,18 @@ class MultiVP extends eventemitter3 {
*
* @returns {undefined}
*/
animate(time) {
animate() {
for (const peerId of Object.keys(this.meshes)) {
const peerMesh = this.meshes[peerId];
if (peerId === 2) {
peerMesh.lookAt(this.vp.mesh);
peerMesh.position.set(
Math.cos(time * 0.0001) * 4,
0,
Math.sin(time * 0.0001) * 4
);
for (let i = 0; i < 3; i++) {
if (typeof peerMesh.position[i] !== 'number') {
peerMesh.position[i] = 0;
}
}
peerMesh.mesh.position.set(...peerMesh.position);
if (typeof peerMesh.rotation === 'number') {
peerMesh.mesh.rotation.y = peerMesh.rotation;
}
// for (let i = 0; i < 3; i++) {
// if (typeof peerMesh.position[i] !== 'number') {
// peerMesh.position[i] = 0;
// }
// }
// peerMesh.mesh.position.set(...peerMesh.position);
// if (typeof peerMesh.rotation === 'number') {
// peerMesh.mesh.rotation.y = peerMesh.rotation;
// }
}
}

Expand Down
2 changes: 1 addition & 1 deletion build/simbol.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/simbol.min.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/simbol.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/simbol.min.script.js

Large diffs are not rendered by default.

28 changes: 10 additions & 18 deletions build/simbol.script.js
Original file line number Diff line number Diff line change
Expand Up @@ -132064,7 +132064,7 @@ var simbol = (function (exports) {

this.uPort = new uport.Connect('Simbol', {
clientId: '2on1AwSMW48Asek7N5fT9aGf3voWqMkEAXJ',
network: 'rinkeby', // change to main net
network: 'rinkeby', // Change to main net
signer: uport.SimpleSigner('12856cfa7d87eca683cbccf3617c82c615b8cac4347db20b1874884c2bc6453d') // eslint-disable-line new-cap
});

Expand Down Expand Up @@ -139056,26 +139056,18 @@ var simbol = (function (exports) {
*
* @returns {undefined}
*/
animate(time) {
animate() {
for (const peerId of Object.keys(this.meshes)) {
const peerMesh = this.meshes[peerId];
if (peerId === 2) {
peerMesh.lookAt(this.vp.mesh);
peerMesh.position.set(
Math.cos(time * 0.0001) * 4,
0,
Math.sin(time * 0.0001) * 4
);
for (let i = 0; i < 3; i++) {
if (typeof peerMesh.position[i] !== 'number') {
peerMesh.position[i] = 0;
}
}
peerMesh.mesh.position.set(...peerMesh.position);
if (typeof peerMesh.rotation === 'number') {
peerMesh.mesh.rotation.y = peerMesh.rotation;
}
// for (let i = 0; i < 3; i++) {
// if (typeof peerMesh.position[i] !== 'number') {
// peerMesh.position[i] = 0;
// }
// }
// peerMesh.mesh.position.set(...peerMesh.position);
// if (typeof peerMesh.rotation === 'number') {
// peerMesh.mesh.rotation.y = peerMesh.rotation;
// }
}
}

Expand Down
2 changes: 1 addition & 1 deletion build/simbol.script.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Controllers.html
Original file line number Diff line number Diff line change
Expand Up @@ -2596,7 +2596,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/GamepadController.html
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Identity.html
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Interactions.html
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/KeyboardController.html
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Link.html
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Loader.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Locomotion.html
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
30 changes: 15 additions & 15 deletions docs/MultiVP.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line48">line 48</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line49">line 49</a>
</li></ul></dd>


Expand Down Expand Up @@ -310,7 +310,7 @@ <h5 class="subsection-title">Properties:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line17">line 17</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line18">line 18</a>
</li></ul></dd>


Expand Down Expand Up @@ -420,7 +420,7 @@ <h5 class="subsection-title">Properties:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line29">line 29</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line30">line 30</a>
</li></ul></dd>


Expand Down Expand Up @@ -550,7 +550,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line229">line 229</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line238">line 238</a>
</li></ul></dd>


Expand Down Expand Up @@ -655,7 +655,7 @@ <h4 class="name" id="animate"><span class="type-signature"></span>animate<span c

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line116">line 116</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line118">line 118</a>
</li></ul></dd>


Expand Down Expand Up @@ -859,7 +859,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line201">line 201</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line210">line 210</a>
</li></ul></dd>


Expand Down Expand Up @@ -973,7 +973,7 @@ <h4 class="name" id="createSocket"><span class="type-signature"></span>createSoc

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line132">line 132</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line141">line 141</a>
</li></ul></dd>


Expand Down Expand Up @@ -1086,7 +1086,7 @@ <h4 class="name" id="getStream"><span class="type-signature"></span>getStream<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line97">line 97</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line99">line 99</a>
</li></ul></dd>


Expand Down Expand Up @@ -1254,7 +1254,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line365">line 365</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line379">line 379</a>
</li></ul></dd>


Expand Down Expand Up @@ -1415,7 +1415,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line391">line 391</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line405">line 405</a>
</li></ul></dd>


Expand Down Expand Up @@ -1595,7 +1595,7 @@ <h5 class="subsection-title">Properties:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line305">line 305</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line319">line 319</a>
</li></ul></dd>


Expand Down Expand Up @@ -1739,7 +1739,7 @@ <h5 class="subsection-title">Properties:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line56">line 56</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line58">line 58</a>
</li></ul></dd>


Expand Down Expand Up @@ -1836,7 +1836,7 @@ <h5>Type:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line71">line 71</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line73">line 73</a>
</li></ul></dd>


Expand Down Expand Up @@ -1980,7 +1980,7 @@ <h5 class="subsection-title">Properties:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line342">line 342</a>
<a href="virtualpersona_multivp.js.html">virtualpersona/multivp.js</a>, <a href="virtualpersona_multivp.js.html#line356">line 356</a>
</li></ul></dd>


Expand Down Expand Up @@ -2026,7 +2026,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/NodeSimbol.html
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Physics.html
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/PointerController.html
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/PoseController.html
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Scene.html
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:13 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Selection.html
Original file line number Diff line number Diff line change
Expand Up @@ -2576,7 +2576,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Controlle
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Aug 10 2018 19:06:14 GMT-0500 (DST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Aug 14 2018 22:54:05 GMT-0500 (DST)
</footer>

<script> prettyPrint(); </script>
Expand Down
Loading

0 comments on commit 94564cf

Please sign in to comment.