Skip to content

Commit

Permalink
latest docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-42 committed Jun 15, 2023
1 parent 86bfb46 commit 4536aea
Show file tree
Hide file tree
Showing 12 changed files with 134 additions and 120 deletions.
2 changes: 1 addition & 1 deletion docs/Camera.html
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Camera.ht
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
146 changes: 73 additions & 73 deletions docs/Viewer.html

Large diffs are not rendered by default.

22 changes: 14 additions & 8 deletions docs/camera.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,14 +336,20 @@ <h1 class="page-title">Source: camera.js</h1>
const aspect = width / height;
const pSize = this.projectSize(distance, aspect);

this.oCamera.left = -pSize[0];
this.oCamera.right = pSize[0];
this.oCamera.top = pSize[1];
this.oCamera.bottom = -pSize[1];

this.pCamera.aspect = aspect;
if (this.oCamera){
this.oCamera.left = -pSize[0];
this.oCamera.right = pSize[0];
this.oCamera.top = pSize[1];
this.oCamera.bottom = -pSize[1];
}

this.camera.updateProjectionMatrix();
if (this.pCamera){
this.pCamera.aspect = aspect;
}

if (this.camera) {
this.camera.updateProjectionMatrix();
}
}
}

Expand All @@ -364,7 +370,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Camera.ht
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
45 changes: 26 additions & 19 deletions docs/dist/three-cad-viewer.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -57740,18 +57740,24 @@ class Camera {
const aspect = width / height;
const pSize = this.projectSize(distance, aspect);

this.oCamera.left = -pSize[0];
this.oCamera.right = pSize[0];
this.oCamera.top = pSize[1];
this.oCamera.bottom = -pSize[1];

this.pCamera.aspect = aspect;
if (this.oCamera){
this.oCamera.left = -pSize[0];
this.oCamera.right = pSize[0];
this.oCamera.top = pSize[1];
this.oCamera.bottom = -pSize[1];
}

this.camera.updateProjectionMatrix();
if (this.pCamera){
this.pCamera.aspect = aspect;
}

if (this.camera) {
this.camera.updateProjectionMatrix();
}
}
}

const version="1.7.11";
const version="1.7.12";

class Viewer {
/**
Expand Down Expand Up @@ -58197,17 +58203,17 @@ class Viewer {
if (this.animation) {
this.animation.update();
}
}

this.checkChanges(
{
zoom: this.camera.getZoom(),
position: this.camera.getPosition().toArray(),
quaternion: this.camera.getQuaternion().toArray(),
target: this.controls.getTarget().toArray(),
},
notify,
);
this.checkChanges(
{
zoom: this.camera.getZoom(),
position: this.camera.getPosition().toArray(),
quaternion: this.camera.getQuaternion().toArray(),
target: this.controls.getTarget().toArray(),
},
notify,
);
}
};

/**
Expand Down Expand Up @@ -58323,6 +58329,7 @@ class Viewer {

// dispose scene
this.scene = null;
this.ready = false;
}
}

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
25 changes: 13 additions & 12 deletions docs/viewer.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -488,17 +488,17 @@ <h1 class="page-title">Source: viewer.js</h1>
if (this.animation) {
this.animation.update();
}
}

this.checkChanges(
{
zoom: this.camera.getZoom(),
position: this.camera.getPosition().toArray(),
quaternion: this.camera.getQuaternion().toArray(),
target: this.controls.getTarget().toArray(),
},
notify,
);
this.checkChanges(
{
zoom: this.camera.getZoom(),
position: this.camera.getPosition().toArray(),
quaternion: this.camera.getQuaternion().toArray(),
target: this.controls.getTarget().toArray(),
},
notify,
);
}
};

/**
Expand Down Expand Up @@ -614,6 +614,7 @@ <h1 class="page-title">Source: viewer.js</h1>

// dispose scene
this.scene = null;
this.ready = false;
}
}

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

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 08 2023 12:00:10 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 22:21:58 GMT+0200 (Central European Summer Time)
</footer>

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

0 comments on commit 4536aea

Please sign in to comment.