@ridp/threejs 0.2.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/ImageLoader-CB_URfeZ.js +860 -0
  2. package/dist/ImageLoader-DwvBWW6h.cjs +5 -0
  3. package/dist/common-BHi3qsZW.cjs +15 -0
  4. package/dist/{common-DESmndxO.js → common-fbJUHqlj.js} +1 -1
  5. package/dist/hooks.cjs +1 -1
  6. package/dist/hooks.js +7 -9
  7. package/dist/threejs.cjs +1 -1
  8. package/dist/threejs.js +17 -15
  9. package/dist/useGLTFLoader-DHxBLucO.js +5629 -0
  10. package/dist/useGLTFLoader-DM3-7jdq.cjs +4 -0
  11. package/dist/utils.cjs +1 -1
  12. package/dist/utils.js +15 -12
  13. package/esdoc/ast/source/.external-ecmascript.js.json +2802 -0
  14. package/esdoc/ast/source/hooks/index.js.json +739 -0
  15. package/esdoc/ast/source/hooks/useGLTFLoader.js.json +9111 -0
  16. package/esdoc/ast/source/hooks/useObb.js.json +16463 -0
  17. package/esdoc/ast/source/hooks/useRaycaster.js.json +15556 -0
  18. package/esdoc/ast/source/hooks/useThreeJs.js.json +52887 -0
  19. package/esdoc/ast/source/index.js.json +570 -0
  20. package/esdoc/ast/source/instance/IDBCache.js.json +40978 -0
  21. package/esdoc/ast/source/instance/index.js.json +232 -0
  22. package/esdoc/ast/source/utils/ImageLoader.js.json +7037 -0
  23. package/esdoc/ast/source/utils/common.js.json +5134 -0
  24. package/esdoc/ast/source/utils/css3dHelper.js.json +9101 -0
  25. package/esdoc/ast/source/utils/disposeObject.js.json +5978 -0
  26. package/esdoc/ast/source/utils/helper.js.json +10522 -0
  27. package/esdoc/ast/source/utils/index.js.json +908 -0
  28. package/esdoc/badge.svg +17 -0
  29. package/esdoc/class/src/instance/IDBCache.js~IDBCache.html +1299 -0
  30. package/esdoc/coverage.json +86 -0
  31. package/esdoc/css/github.css +83 -0
  32. package/esdoc/css/identifiers.css +37 -0
  33. package/esdoc/css/manual.css +134 -0
  34. package/esdoc/css/prettify-tomorrow.css +132 -0
  35. package/esdoc/css/search.css +84 -0
  36. package/esdoc/css/source.css +55 -0
  37. package/esdoc/css/style.css +608 -0
  38. package/esdoc/css/test.css +58 -0
  39. package/esdoc/file/src/hooks/index.js.html +79 -0
  40. package/esdoc/file/src/hooks/useGLTFLoader.js.html +146 -0
  41. package/esdoc/file/src/hooks/useObb.js.html +149 -0
  42. package/esdoc/file/src/hooks/useRaycaster.js.html +153 -0
  43. package/esdoc/file/src/hooks/useThreeJs.js.html +362 -0
  44. package/esdoc/file/src/index.js.html +78 -0
  45. package/esdoc/file/src/instance/IDBCache.js.html +312 -0
  46. package/esdoc/file/src/instance/index.js.html +76 -0
  47. package/esdoc/file/src/utils/ImageLoader.js.html +118 -0
  48. package/esdoc/file/src/utils/common.js.html +102 -0
  49. package/esdoc/file/src/utils/css3dHelper.js.html +131 -0
  50. package/esdoc/file/src/utils/disposeObject.js.html +114 -0
  51. package/esdoc/file/src/utils/helper.js.html +138 -0
  52. package/esdoc/file/src/utils/index.js.html +80 -0
  53. package/esdoc/function/index.html +2019 -0
  54. package/esdoc/identifiers.html +738 -0
  55. package/esdoc/image/badge.svg +17 -0
  56. package/esdoc/image/esdoc-logo-mini-black.png +0 -0
  57. package/esdoc/image/esdoc-logo-mini.png +0 -0
  58. package/esdoc/image/manual-badge.svg +17 -0
  59. package/esdoc/image/search.png +0 -0
  60. package/esdoc/index.html +153 -0
  61. package/esdoc/index.json +2051 -0
  62. package/esdoc/inject/css/0-cus-style.css +1 -0
  63. package/esdoc/lint.json +1 -0
  64. package/esdoc/script/inherited-summary.js +28 -0
  65. package/esdoc/script/inner-link.js +32 -0
  66. package/esdoc/script/manual.js +12 -0
  67. package/esdoc/script/patch-for-local.js +8 -0
  68. package/esdoc/script/prettify/Apache-License-2.0.txt +202 -0
  69. package/esdoc/script/prettify/prettify.js +46 -0
  70. package/esdoc/script/pretty-print.js +25 -0
  71. package/esdoc/script/search.js +117 -0
  72. package/esdoc/script/search_index.js +572 -0
  73. package/esdoc/script/test-summary.js +54 -0
  74. package/esdoc/source.html +213 -0
  75. package/esdoc/variable/index.html +225 -0
  76. package/package.json +13 -3
  77. package/readme.md +93 -0
  78. package/dist/common-nMt4tIRA.cjs +0 -15
  79. package/dist/disposeObject-BuI3II7v.cjs +0 -1
  80. package/dist/disposeObject-CmFSSgi7.js +0 -616
  81. package/dist/useGLTFLoader-BAoIZjEX.js +0 -2645
  82. package/dist/useGLTFLoader-CGOxhEOO.cjs +0 -6
@@ -0,0 +1,362 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <base data-ice="baseUrl" href="../../../">
6
+ <title data-ice="title">src/hooks/useThreeJs.js | @ridp/threejs</title>
7
+ <link type="text/css" rel="stylesheet" href="css/style.css">
8
+ <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css">
9
+ <script src="script/prettify/prettify.js"></script>
10
+ <script src="script/manual.js"></script>
11
+ <link rel="stylesheet" href="./inject/css/0-cus-style.css"></head>
12
+ <body class="layout-container" data-ice="rootContainer">
13
+
14
+ <header>
15
+ <a href="./">Home</a>
16
+
17
+ <a href="identifiers.html">Reference</a>
18
+ <a href="source.html">Source</a>
19
+
20
+ <div class="search-box">
21
+ <span>
22
+ <img src="./image/search.png">
23
+ <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span>
24
+ </span>
25
+ <ul class="search-result"></ul>
26
+ </div>
27
+ </header>
28
+
29
+ <nav class="navigation" data-ice="nav"><div>
30
+ <ul>
31
+
32
+ <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#hooks">hooks</a><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useGLTFLoader">useGLTFLoader</a></span></span></li>
33
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useObb">useObb</a></span></span></li>
34
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useRaycaster">useRaycaster</a></span></span></li>
35
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useThreeJs">useThreeJs</a></span></span></li>
36
+ <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-intersectColor">intersectColor</a></span></span></li>
37
+ <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-obbObjects">obbObjects</a></span></span></li>
38
+ <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#instance">instance</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/instance/IDBCache.js~IDBCache.html">IDBCache</a></span></span></li>
39
+ <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#utils">utils</a><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-ImageLoader">ImageLoader</a></span></span></li>
40
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-initEnvImage">initEnvImage</a></span></span></li>
41
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getCommonParent">getCommonParent</a></span></span></li>
42
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createInfoPlane">createInfoPlane</a></span></span></li>
43
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createTagPlane">createTagPlane</a></span></span></li>
44
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-disposeThreeObject">disposeThreeObject</a></span></span></li>
45
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createArrowHelper">createArrowHelper</a></span></span></li>
46
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createAxesHelper">createAxesHelper</a></span></span></li>
47
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createBox3Helper">createBox3Helper</a></span></span></li>
48
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createCameraHelper">createCameraHelper</a></span></span></li>
49
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createGridHelper">createGridHelper</a></span></span></li>
50
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createMapControls">createMapControls</a></span></span></li>
51
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createOrbitControl">createOrbitControl</a></span></span></li>
52
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createRaycaster">createRaycaster</a></span></span></li>
53
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createStats">createStats</a></span></span></li>
54
+ </ul>
55
+ </div>
56
+ </nav>
57
+
58
+ <div class="content" data-ice="content"><h1 data-ice="title">src/hooks/useThreeJs.js</h1>
59
+ <pre class="source-code line-number raw-source-code"><code class="prettyprint linenums" data-ice="content">import {
60
+ Scene,
61
+ Group,
62
+ PerspectiveCamera,
63
+ WebGLRenderer,
64
+ Color,
65
+ Box3,
66
+ Vector3,
67
+ MathUtils,
68
+ } from &quot;three&quot;;
69
+ import { nextTick, onMounted, onUnmounted, ref, shallowRef } from &quot;vue&quot;;
70
+ import Stats from &quot;three/addons/libs/stats.module.js&quot;;
71
+ import { CSS3DRenderer } from &quot;three/examples/jsm/renderers/CSS3DRenderer.js&quot;;
72
+
73
+ import { createOrbitControl, disposeThreeObject } from &quot;../utils&quot;;
74
+ import { OrbitControls } from &quot;three/examples/jsm/Addons.js&quot;;
75
+ import { Object3D } from &quot;three&quot;;
76
+
77
+ // &#x9ED8;&#x8BA4;&#x63A7;&#x5236;&#x5668;&#x914D;&#x7F6E;
78
+ const defaultControlOpt = {
79
+ enableDamping: true,
80
+ dampingFactor: 0.25,
81
+ screenSpacePanning: false,
82
+ minDistance: 0.1,
83
+ maxDistance: 1000,
84
+ maxPolarAngle: MathUtils.degToRad(60),
85
+ };
86
+
87
+ /**
88
+ *
89
+ * @param {String} selector ID &apos;#xxxx&apos;
90
+ * @param {Object} option {
91
+ * css3d: false,
92
+ stats: false,
93
+ control: {
94
+ init: true,
95
+ options: {
96
+ ...OrbitControls&#x5C5E;&#x6027;
97
+ },
98
+ },
99
+ * }
100
+ * @returns any
101
+ */
102
+ export function useThreeJs(selector, option) {
103
+ const _option = Object.assign(
104
+ {
105
+ css3d: false,
106
+ stats: false,
107
+ control: {
108
+ init: true,
109
+ options: {},
110
+ },
111
+ },
112
+ option || {}
113
+ );
114
+
115
+ let el,
116
+ stats,
117
+ css3dRenderer,
118
+ animateCbs = [];
119
+
120
+ const isReady = ref(false);
121
+
122
+ const control = shallowRef();
123
+ const domWidth = ref(0);
124
+ const domHeight = ref(0);
125
+
126
+ const renderer = new WebGLRenderer({
127
+ antialias: true,
128
+ alpha: true,
129
+ precision: &quot;mediump&quot;,
130
+ logarithmicDepthBuffer: true,
131
+ });
132
+ const scene = new Scene({});
133
+ const camera = new PerspectiveCamera(50, 1, 0.1, 2000);
134
+ const tanFOV = Math.tan(((Math.PI / 180) * camera.fov) / 2);
135
+
136
+ renderer.setPixelRatio(window.devicePixelRatio);
137
+
138
+ function init() {
139
+ isReady.value = false;
140
+ const size = getTargetSize();
141
+ domWidth.value = size[0];
142
+ domHeight.value = size[1];
143
+
144
+ camera.aspect = domWidth.value / domHeight.value;
145
+ camera.position.set(47, 39, 100);
146
+ camera.fov =
147
+ (360 / Math.PI) * Math.atan(tanFOV * (domHeight.value / domWidth.value));
148
+ camera.lookAt(0, 0, 0);
149
+ camera.updateProjectionMatrix();
150
+
151
+ renderer.setSize(domWidth.value, domHeight.value);
152
+ el.appendChild(renderer.domElement);
153
+
154
+ _option.stats &amp;&amp; initStats();
155
+ // css3d
156
+ _option.css3d &amp;&amp; createCss3dRenderer();
157
+
158
+ // &#x63A7;&#x5236;&#x5668;
159
+ let control;
160
+ if (_option.control &amp;&amp; _option.control.init) {
161
+ control = createOrbitControl(camera, renderer.domElement);
162
+ const controlOpt = Object.assign(
163
+ defaultControlOpt,
164
+ _option.control.options || {}
165
+ );
166
+ Object.keys(controlOpt).forEach((key) =&gt; {
167
+ control[key] = controlOpt[key];
168
+ });
169
+ }
170
+
171
+ nextTick(() =&gt; (isReady.value = true));
172
+ return control;
173
+ }
174
+
175
+ function onContextLost(event) {
176
+ event.preventDefault();
177
+ cancelAnimationFrame(animate);
178
+ }
179
+ function onContextRestored(event) {
180
+ event.preventDefault();
181
+ init();
182
+ animate();
183
+ }
184
+
185
+ /**
186
+ * &#x5FAA;&#x73AF;&#x5E27;&#x4E2D;&#x6DFB;&#x52A0;&#x6267;&#x884C;&#x51FD;&#x6570;
187
+ * @param {*} animate
188
+ */
189
+ function addAnimate(animate) {
190
+ animateCbs.push(animate);
191
+ }
192
+
193
+ function animate(cbs) {
194
+ animateCbs &amp;&amp;
195
+ animateCbs.length &amp;&amp;
196
+ animateCbs.forEach((fun) =&gt; {
197
+ typeof fun === &quot;function&quot; &amp;&amp; fun();
198
+ });
199
+
200
+ control.value &amp;&amp; control.value.update();
201
+ renderer.render(scene, camera);
202
+ stats &amp;&amp; stats.update();
203
+ css3dRenderer &amp;&amp; css3dRenderer.render(scene, camera);
204
+
205
+ requestAnimationFrame(animate);
206
+ }
207
+
208
+ function onResize() {
209
+ nextTick(() =&gt; {
210
+ const size = getTargetSize();
211
+ domWidth.value = size[0];
212
+ domHeight.value = size[1];
213
+ camera.aspect = domWidth.value / domHeight.value;
214
+ // adjust the FOV
215
+ camera.fov =
216
+ (360 / Math.PI) *
217
+ Math.atan(tanFOV * (domHeight.value / domWidth.value));
218
+ camera.updateProjectionMatrix();
219
+ camera.lookAt(scene.position);
220
+
221
+ renderer.render(scene, camera);
222
+ renderer.setSize(domWidth.value, domHeight.value);
223
+
224
+ css3dRenderer &amp;&amp; css3dRenderer.setSize(domWidth.value, domHeight.value);
225
+ });
226
+ }
227
+
228
+ function getTargetSize() {
229
+ el = document.querySelector(selector);
230
+ return [el.clientWidth, el.clientHeight];
231
+ }
232
+
233
+ function initStats() {
234
+ stats = new Stats();
235
+ stats.dom.style.cssText =
236
+ &quot;position:absolute;top:0;left:0;cursor:pointer;opacity:0.9;z-index:10000&quot;;
237
+ el.appendChild(stats.dom);
238
+ }
239
+
240
+ /**&#x7269;&#x4F53;&#x89C6;&#x7A97;&#x81EA;&#x52A8;&#x9002;&#x5E94;
241
+ *
242
+ * @param {Object3D} model
243
+ * @param {Number} scale
244
+ * @param {Camera} camera
245
+ * @param {OrbitControls} controls
246
+ * @param {Vector3} offset
247
+ */
248
+ function frameArea(model, scale, camera, controls, offset) {
249
+ const box = new Box3().setFromObject(model);
250
+ const boxSize = box.getSize(new Vector3()).length();
251
+ const boxCenter = box.getCenter(new Vector3());
252
+
253
+ if (offset) boxCenter.add(offset);
254
+
255
+ const sizeToFitOnScreen = boxSize * scale;
256
+ const halfSizeToFitOnScreen = sizeToFitOnScreen * 0.5;
257
+ const halfFovY = MathUtils.degToRad(camera.fov * 0.5);
258
+ const distance = halfSizeToFitOnScreen / Math.tan(halfFovY);
259
+ const direction = new Vector3()
260
+ .subVectors(camera.position, boxCenter)
261
+ .multiply(new Vector3(1, 1, 1))
262
+ .normalize();
263
+
264
+ const neP = direction.multiplyScalar(distance).add(boxCenter);
265
+ const targetOption = {
266
+ x: neP.x,
267
+ y: neP.y,
268
+ z: neP.z,
269
+ lookAt_x: boxCenter.x,
270
+ lookAt_y: boxCenter.y,
271
+ lookAt_z: boxCenter.z,
272
+ };
273
+
274
+ camera.position.set(targetOption.x, targetOption.y, targetOption.z);
275
+ camera.lookAt(
276
+ targetOption.lookAt_x,
277
+ targetOption.lookAt_y,
278
+ targetOption.lookAt_z
279
+ );
280
+ camera.updateProjectionMatrix();
281
+ controls.target.copy(boxCenter);
282
+ controls.update();
283
+ return boxSize;
284
+ }
285
+
286
+ function createCss3dRenderer() {
287
+ css3dRenderer = new CSS3DRenderer();
288
+ css3dRenderer.setSize(domWidth.value, domHeight.value);
289
+ css3dRenderer.domElement.style.position = &quot;absolute&quot;;
290
+ css3dRenderer.domElement.style.top = 0;
291
+ css3dRenderer.domElement.style.left = 0;
292
+ css3dRenderer.domElement.style.pointerEvents = &quot;none&quot;;
293
+ el.appendChild(css3dRenderer.domElement);
294
+ }
295
+
296
+ function dispose() {
297
+ disposeThreeObject(scene);
298
+ }
299
+
300
+ onMounted(() =&gt; {
301
+ control.value = init();
302
+
303
+ renderer.domElement.addEventListener(&quot;resize&quot;, onResize, false);
304
+ renderer.domElement.addEventListener(
305
+ &quot;webglcontextlost&quot;,
306
+ onContextLost,
307
+ false
308
+ );
309
+ renderer.domElement.addEventListener(
310
+ &quot;webglcontextrestored&quot;,
311
+ onContextRestored,
312
+ false
313
+ );
314
+ requestAnimationFrame(animate);
315
+ });
316
+
317
+ onUnmounted(() =&gt; {
318
+ cancelAnimationFrame(animate);
319
+ renderer.domElement.removeEventListener(&quot;resize&quot;, onResize, false);
320
+ renderer.domElement.removeEventListener(
321
+ &quot;webglcontextlost&quot;,
322
+ onContextLost,
323
+ false
324
+ );
325
+ renderer.domElement.removeEventListener(
326
+ &quot;webglcontextrestored&quot;,
327
+ onContextRestored,
328
+ false
329
+ );
330
+ dispose();
331
+ });
332
+
333
+ return {
334
+ addAnimate,
335
+ frameArea,
336
+
337
+ scene,
338
+ camera,
339
+ control,
340
+ renderer,
341
+ domWidth,
342
+ domHeight,
343
+ isReady,
344
+ };
345
+ }
346
+ </code></pre>
347
+
348
+ </div>
349
+
350
+ <footer class="footer">
351
+ Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(1.1.0)</span><img src="./image/esdoc-logo-mini-black.png"></a>
352
+ </footer>
353
+
354
+ <script src="script/search_index.js"></script>
355
+ <script src="script/search.js"></script>
356
+ <script src="script/pretty-print.js"></script>
357
+ <script src="script/inherited-summary.js"></script>
358
+ <script src="script/test-summary.js"></script>
359
+ <script src="script/inner-link.js"></script>
360
+ <script src="script/patch-for-local.js"></script>
361
+ </body>
362
+ </html>
@@ -0,0 +1,78 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <base data-ice="baseUrl" href="../../">
6
+ <title data-ice="title">src/index.js | @ridp/threejs</title>
7
+ <link type="text/css" rel="stylesheet" href="css/style.css">
8
+ <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css">
9
+ <script src="script/prettify/prettify.js"></script>
10
+ <script src="script/manual.js"></script>
11
+ <link rel="stylesheet" href="./inject/css/0-cus-style.css"></head>
12
+ <body class="layout-container" data-ice="rootContainer">
13
+
14
+ <header>
15
+ <a href="./">Home</a>
16
+
17
+ <a href="identifiers.html">Reference</a>
18
+ <a href="source.html">Source</a>
19
+
20
+ <div class="search-box">
21
+ <span>
22
+ <img src="./image/search.png">
23
+ <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span>
24
+ </span>
25
+ <ul class="search-result"></ul>
26
+ </div>
27
+ </header>
28
+
29
+ <nav class="navigation" data-ice="nav"><div>
30
+ <ul>
31
+
32
+ <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#hooks">hooks</a><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useGLTFLoader">useGLTFLoader</a></span></span></li>
33
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useObb">useObb</a></span></span></li>
34
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useRaycaster">useRaycaster</a></span></span></li>
35
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-useThreeJs">useThreeJs</a></span></span></li>
36
+ <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-intersectColor">intersectColor</a></span></span></li>
37
+ <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-obbObjects">obbObjects</a></span></span></li>
38
+ <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#instance">instance</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/instance/IDBCache.js~IDBCache.html">IDBCache</a></span></span></li>
39
+ <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#utils">utils</a><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-ImageLoader">ImageLoader</a></span></span></li>
40
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-initEnvImage">initEnvImage</a></span></span></li>
41
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getCommonParent">getCommonParent</a></span></span></li>
42
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createInfoPlane">createInfoPlane</a></span></span></li>
43
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createTagPlane">createTagPlane</a></span></span></li>
44
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-disposeThreeObject">disposeThreeObject</a></span></span></li>
45
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createArrowHelper">createArrowHelper</a></span></span></li>
46
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createAxesHelper">createAxesHelper</a></span></span></li>
47
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createBox3Helper">createBox3Helper</a></span></span></li>
48
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createCameraHelper">createCameraHelper</a></span></span></li>
49
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createGridHelper">createGridHelper</a></span></span></li>
50
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createMapControls">createMapControls</a></span></span></li>
51
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createOrbitControl">createOrbitControl</a></span></span></li>
52
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createRaycaster">createRaycaster</a></span></span></li>
53
+ <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createStats">createStats</a></span></span></li>
54
+ </ul>
55
+ </div>
56
+ </nav>
57
+
58
+ <div class="content" data-ice="content"><h1 data-ice="title">src/index.js</h1>
59
+ <pre class="source-code line-number raw-source-code"><code class="prettyprint linenums" data-ice="content">export * from &quot;./hooks&quot;;
60
+ export * from &quot;./utils&quot;;
61
+ export * from &quot;./instance&quot;;
62
+ </code></pre>
63
+
64
+ </div>
65
+
66
+ <footer class="footer">
67
+ Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(1.1.0)</span><img src="./image/esdoc-logo-mini-black.png"></a>
68
+ </footer>
69
+
70
+ <script src="script/search_index.js"></script>
71
+ <script src="script/search.js"></script>
72
+ <script src="script/pretty-print.js"></script>
73
+ <script src="script/inherited-summary.js"></script>
74
+ <script src="script/test-summary.js"></script>
75
+ <script src="script/inner-link.js"></script>
76
+ <script src="script/patch-for-local.js"></script>
77
+ </body>
78
+ </html>