@ridp/threejs 1.1.7 → 1.2.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 (77) hide show
  1. package/dist/common-C1rNPPkt.cjs +15 -0
  2. package/dist/common-D1_IztgM.js +54 -0
  3. package/dist/hooks.cjs +1 -1
  4. package/dist/hooks.js +4 -4
  5. package/dist/modelSerialize-5oJb1ka7.js +965 -0
  6. package/dist/modelSerialize-Ds_2KBaA.cjs +5 -0
  7. package/dist/threejs.cjs +1 -1
  8. package/dist/threejs.js +184 -24
  9. package/dist/useGLTFLoader-2awW2QaH.cjs +4 -0
  10. package/dist/useGLTFLoader-BBGTGOYm.js +5507 -0
  11. package/dist/utils.cjs +1 -1
  12. package/dist/utils.js +18 -16
  13. package/esdoc/ast/source/.external-ecmascript.js.json +2801 -2801
  14. package/esdoc/ast/source/hooks/index.js.json +738 -738
  15. package/esdoc/ast/source/hooks/useGLTFLoader.js.json +9110 -9110
  16. package/esdoc/ast/source/hooks/useObb.js.json +16462 -16462
  17. package/esdoc/ast/source/hooks/useRaycaster.js.json +15555 -15555
  18. package/esdoc/ast/source/hooks/useThreeJs.js.json +52886 -52886
  19. package/esdoc/ast/source/index.js.json +569 -569
  20. package/esdoc/ast/source/instance/IDBCache.js.json +40977 -40977
  21. package/esdoc/ast/source/instance/index.js.json +231 -231
  22. package/esdoc/ast/source/utils/ImageLoader.js.json +7036 -7036
  23. package/esdoc/ast/source/utils/common.js.json +5133 -5133
  24. package/esdoc/ast/source/utils/css3dHelper.js.json +9100 -9100
  25. package/esdoc/ast/source/utils/disposeObject.js.json +5977 -5977
  26. package/esdoc/ast/source/utils/helper.js.json +10521 -10521
  27. package/esdoc/ast/source/utils/index.js.json +907 -907
  28. package/esdoc/badge.svg +17 -17
  29. package/esdoc/class/src/instance/IDBCache.js~IDBCache.html +1299 -1299
  30. package/esdoc/coverage.json +85 -85
  31. package/esdoc/css/github.css +83 -83
  32. package/esdoc/css/identifiers.css +37 -37
  33. package/esdoc/css/manual.css +134 -134
  34. package/esdoc/css/prettify-tomorrow.css +132 -132
  35. package/esdoc/css/search.css +84 -84
  36. package/esdoc/css/source.css +55 -55
  37. package/esdoc/css/style.css +608 -608
  38. package/esdoc/css/test.css +58 -58
  39. package/esdoc/file/src/hooks/index.js.html +75 -75
  40. package/esdoc/file/src/hooks/useGLTFLoader.js.html +75 -75
  41. package/esdoc/file/src/hooks/useObb.js.html +75 -75
  42. package/esdoc/file/src/hooks/useRaycaster.js.html +75 -75
  43. package/esdoc/file/src/hooks/useThreeJs.js.html +75 -75
  44. package/esdoc/file/src/index.js.html +75 -75
  45. package/esdoc/file/src/instance/IDBCache.js.html +75 -75
  46. package/esdoc/file/src/instance/index.js.html +75 -75
  47. package/esdoc/file/src/utils/ImageLoader.js.html +75 -75
  48. package/esdoc/file/src/utils/common.js.html +75 -75
  49. package/esdoc/file/src/utils/css3dHelper.js.html +75 -75
  50. package/esdoc/file/src/utils/disposeObject.js.html +75 -75
  51. package/esdoc/file/src/utils/helper.js.html +75 -75
  52. package/esdoc/file/src/utils/index.js.html +75 -75
  53. package/esdoc/function/index.html +2019 -2019
  54. package/esdoc/identifiers.html +738 -738
  55. package/esdoc/image/badge.svg +17 -17
  56. package/esdoc/image/manual-badge.svg +17 -17
  57. package/esdoc/index.html +153 -153
  58. package/esdoc/index.json +2050 -2050
  59. package/esdoc/script/inherited-summary.js +28 -28
  60. package/esdoc/script/inner-link.js +32 -32
  61. package/esdoc/script/manual.js +12 -12
  62. package/esdoc/script/patch-for-local.js +8 -8
  63. package/esdoc/script/prettify/Apache-License-2.0.txt +202 -202
  64. package/esdoc/script/prettify/prettify.js +46 -46
  65. package/esdoc/script/pretty-print.js +25 -25
  66. package/esdoc/script/search.js +117 -117
  67. package/esdoc/script/search_index.js +571 -571
  68. package/esdoc/script/test-summary.js +54 -54
  69. package/esdoc/source.html +213 -213
  70. package/esdoc/variable/index.html +225 -225
  71. package/package.json +3 -5
  72. package/dist/ImageLoader-B_rHfhtt.cjs +0 -1
  73. package/dist/ImageLoader-D9uANgrl.js +0 -1475
  74. package/dist/common-DTEEkXFr.cjs +0 -1
  75. package/dist/common-DhuVL1VV.js +0 -73
  76. package/dist/useGLTFLoader-BDER-upw.cjs +0 -1
  77. package/dist/useGLTFLoader-UD3WYZET.js +0 -7016
@@ -1,54 +1,54 @@
1
- (function(){
2
- function toggle(ev) {
3
- var button = ev.target;
4
- var parent = ev.target.parentElement;
5
- while(parent) {
6
- if (parent.tagName === 'TR' && parent.classList.contains('test-interface')) break;
7
- parent = parent.parentElement;
8
- }
9
-
10
- if (!parent) return;
11
-
12
- var direction;
13
- if (button.classList.contains('opened')) {
14
- button.classList.remove('opened');
15
- button.classList.add('closed');
16
- direction = 'closed';
17
- } else {
18
- button.classList.remove('closed');
19
- button.classList.add('opened');
20
- direction = 'opened';
21
- }
22
-
23
- var targetDepth = parseInt(parent.dataset.testDepth, 10) + 1;
24
- var nextElement = parent.nextElementSibling;
25
- while (nextElement) {
26
- var depth = parseInt(nextElement.dataset.testDepth, 10);
27
- if (depth >= targetDepth) {
28
- if (direction === 'opened') {
29
- if (depth === targetDepth) nextElement.style.display = '';
30
- } else if (direction === 'closed') {
31
- nextElement.style.display = 'none';
32
- var innerButton = nextElement.querySelector('.toggle');
33
- if (innerButton && innerButton.classList.contains('opened')) {
34
- innerButton.classList.remove('opened');
35
- innerButton.classList.add('closed');
36
- }
37
- }
38
- } else {
39
- break;
40
- }
41
- nextElement = nextElement.nextElementSibling;
42
- }
43
- }
44
-
45
- var buttons = document.querySelectorAll('.test-summary tr.test-interface .toggle');
46
- for (var i = 0; i < buttons.length; i++) {
47
- buttons[i].addEventListener('click', toggle);
48
- }
49
-
50
- var topDescribes = document.querySelectorAll('.test-summary tr[data-test-depth="0"]');
51
- for (var i = 0; i < topDescribes.length; i++) {
52
- topDescribes[i].style.display = '';
53
- }
54
- })();
1
+ (function(){
2
+ function toggle(ev) {
3
+ var button = ev.target;
4
+ var parent = ev.target.parentElement;
5
+ while(parent) {
6
+ if (parent.tagName === 'TR' && parent.classList.contains('test-interface')) break;
7
+ parent = parent.parentElement;
8
+ }
9
+
10
+ if (!parent) return;
11
+
12
+ var direction;
13
+ if (button.classList.contains('opened')) {
14
+ button.classList.remove('opened');
15
+ button.classList.add('closed');
16
+ direction = 'closed';
17
+ } else {
18
+ button.classList.remove('closed');
19
+ button.classList.add('opened');
20
+ direction = 'opened';
21
+ }
22
+
23
+ var targetDepth = parseInt(parent.dataset.testDepth, 10) + 1;
24
+ var nextElement = parent.nextElementSibling;
25
+ while (nextElement) {
26
+ var depth = parseInt(nextElement.dataset.testDepth, 10);
27
+ if (depth >= targetDepth) {
28
+ if (direction === 'opened') {
29
+ if (depth === targetDepth) nextElement.style.display = '';
30
+ } else if (direction === 'closed') {
31
+ nextElement.style.display = 'none';
32
+ var innerButton = nextElement.querySelector('.toggle');
33
+ if (innerButton && innerButton.classList.contains('opened')) {
34
+ innerButton.classList.remove('opened');
35
+ innerButton.classList.add('closed');
36
+ }
37
+ }
38
+ } else {
39
+ break;
40
+ }
41
+ nextElement = nextElement.nextElementSibling;
42
+ }
43
+ }
44
+
45
+ var buttons = document.querySelectorAll('.test-summary tr.test-interface .toggle');
46
+ for (var i = 0; i < buttons.length; i++) {
47
+ buttons[i].addEventListener('click', toggle);
48
+ }
49
+
50
+ var topDescribes = document.querySelectorAll('.test-summary tr[data-test-depth="0"]');
51
+ for (var i = 0; i < topDescribes.length; i++) {
52
+ topDescribes[i].style.display = '';
53
+ }
54
+ })();
package/esdoc/source.html CHANGED
@@ -1,213 +1,213 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <base data-ice="baseUrl" href>
6
- <title data-ice="title">Source | @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>Source <img data-ice="coverageBadge" src="./badge.svg"><span data-ice="totalCoverageCount" class="total-coverage-count">18/39</span></h1>
59
-
60
- <table class="files-summary" data-ice="files" data-use-coverage="true">
61
- <thead>
62
- <tr>
63
- <td>File</td>
64
- <td>Identifier</td>
65
- <td class="coverage">Document</td>
66
- <td style="display: none;">Size</td>
67
- <td style="display: none;">Lines</td>
68
- <td style="display: none;">Updated</td>
69
- </tr>
70
- </thead>
71
- <tbody>
72
-
73
- <tr data-ice="file">
74
- <td data-ice="filePath"><span><a href="file/src/hooks/index.js.html">src/hooks/index.js</a></span></td>
75
- <td data-ice="identifier" class="identifiers">-</td>
76
- <td class="coverage"><span data-ice="coverage">-</span></td>
77
- <td style="display: none;" data-ice="size">125 byte</td>
78
- <td style="display: none;" data-ice="lines">4</td>
79
- <td style="display: none;" data-ice="updated">2025-04-05 08:53:34 (UTC)</td>
80
- </tr>
81
- <tr data-ice="file">
82
- <td data-ice="filePath"><span><a href="file/src/hooks/useGLTFLoader.js.html">src/hooks/useGLTFLoader.js</a></span></td>
83
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-useGLTFLoader">useGLTFLoader</a></span></td>
84
- <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">1/1</span></td>
85
- <td style="display: none;" data-ice="size">2208 byte</td>
86
- <td style="display: none;" data-ice="lines">71</td>
87
- <td style="display: none;" data-ice="updated">2025-04-06 01:23:18 (UTC)</td>
88
- </tr>
89
- <tr data-ice="file">
90
- <td data-ice="filePath"><span><a href="file/src/hooks/useObb.js.html#errorLines=5,6,8">src/hooks/useObb.js</a></span></td>
91
- <td data-ice="identifier" class="identifiers"><span><a href="variable/index.html#static-variable-intersectColor">intersectColor</a></span>
92
- <span><a href="variable/index.html#static-variable-obbObjects">obbObjects</a></span>
93
- <span><a href="function/index.html#static-function-useObb">useObb</a></span></td>
94
- <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/3</span></td>
95
- <td style="display: none;" data-ice="size">2042 byte</td>
96
- <td style="display: none;" data-ice="lines">74</td>
97
- <td style="display: none;" data-ice="updated">2025-04-03 02:08:49 (UTC)</td>
98
- </tr>
99
- <tr data-ice="file">
100
- <td data-ice="filePath"><span><a href="file/src/hooks/useRaycaster.js.html#errorLines=4">src/hooks/useRaycaster.js</a></span></td>
101
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-useRaycaster">useRaycaster</a></span></td>
102
- <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/1</span></td>
103
- <td style="display: none;" data-ice="size">2279 byte</td>
104
- <td style="display: none;" data-ice="lines">78</td>
105
- <td style="display: none;" data-ice="updated">2025-04-03 06:11:24 (UTC)</td>
106
- </tr>
107
- <tr data-ice="file">
108
- <td data-ice="filePath"><span><a href="file/src/hooks/useThreeJs.js.html#errorLines=20">src/hooks/useThreeJs.js</a></span></td>
109
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-useThreeJs">useThreeJs</a></span></td>
110
- <td class="coverage"><span data-ice="coverage">50 %</span><span data-ice="coverageCount" class="coverage-count">1/2</span></td>
111
- <td style="display: none;" data-ice="size">7384 byte</td>
112
- <td style="display: none;" data-ice="lines">287</td>
113
- <td style="display: none;" data-ice="updated">2025-04-05 09:32:24 (UTC)</td>
114
- </tr>
115
- <tr data-ice="file">
116
- <td data-ice="filePath"><span><a href="file/src/index.js.html">src/index.js</a></span></td>
117
- <td data-ice="identifier" class="identifiers">-</td>
118
- <td class="coverage"><span data-ice="coverage">-</span></td>
119
- <td style="display: none;" data-ice="size">81 byte</td>
120
- <td style="display: none;" data-ice="lines">3</td>
121
- <td style="display: none;" data-ice="updated">2025-04-05 05:20:45 (UTC)</td>
122
- </tr>
123
- <tr data-ice="file">
124
- <td data-ice="filePath"><span><a href="file/src/instance/IDBCache.js.html#errorLines=15,16">src/instance/IDBCache.js</a></span></td>
125
- <td data-ice="identifier" class="identifiers"><span><a href="class/src/instance/IDBCache.js~IDBCache.html">IDBCache</a></span></td>
126
- <td class="coverage"><span data-ice="coverage">84 %</span><span data-ice="coverageCount" class="coverage-count">11/13</span></td>
127
- <td style="display: none;" data-ice="size">6523 byte</td>
128
- <td style="display: none;" data-ice="lines">237</td>
129
- <td style="display: none;" data-ice="updated">2025-04-05 08:22:57 (UTC)</td>
130
- </tr>
131
- <tr data-ice="file">
132
- <td data-ice="filePath"><span><a href="file/src/instance/index.js.html">src/instance/index.js</a></span></td>
133
- <td data-ice="identifier" class="identifiers">-</td>
134
- <td class="coverage"><span data-ice="coverage">-</span></td>
135
- <td style="display: none;" data-ice="size">29 byte</td>
136
- <td style="display: none;" data-ice="lines">1</td>
137
- <td style="display: none;" data-ice="updated">2025-04-05 05:20:38 (UTC)</td>
138
- </tr>
139
- <tr data-ice="file">
140
- <td data-ice="filePath"><span><a href="file/src/utils/ImageLoader.js.html#errorLines=4,6">src/utils/ImageLoader.js</a></span></td>
141
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-ImageLoader">ImageLoader</a></span>
142
- <span><a href="function/index.html#static-function-initEnvImage">initEnvImage</a></span></td>
143
- <td class="coverage"><span data-ice="coverage">50 %</span><span data-ice="coverageCount" class="coverage-count">2/4</span></td>
144
- <td style="display: none;" data-ice="size">1117 byte</td>
145
- <td style="display: none;" data-ice="lines">43</td>
146
- <td style="display: none;" data-ice="updated">2025-04-05 08:11:41 (UTC)</td>
147
- </tr>
148
- <tr data-ice="file">
149
- <td data-ice="filePath"><span><a href="file/src/utils/common.js.html#errorLines=1">src/utils/common.js</a></span></td>
150
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-getCommonParent">getCommonParent</a></span></td>
151
- <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/1</span></td>
152
- <td style="display: none;" data-ice="size">639 byte</td>
153
- <td style="display: none;" data-ice="lines">27</td>
154
- <td style="display: none;" data-ice="updated">2025-04-03 06:08:12 (UTC)</td>
155
- </tr>
156
- <tr data-ice="file">
157
- <td data-ice="filePath"><span><a href="file/src/utils/css3dHelper.js.html#errorLines=25,34">src/utils/css3dHelper.js</a></span></td>
158
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-createInfoPlane">createInfoPlane</a></span>
159
- <span><a href="function/index.html#static-function-createTagPlane">createTagPlane</a></span></td>
160
- <td class="coverage"><span data-ice="coverage">33 %</span><span data-ice="coverageCount" class="coverage-count">1/3</span></td>
161
- <td style="display: none;" data-ice="size">1573 byte</td>
162
- <td style="display: none;" data-ice="lines">56</td>
163
- <td style="display: none;" data-ice="updated">2025-04-06 02:38:44 (UTC)</td>
164
- </tr>
165
- <tr data-ice="file">
166
- <td data-ice="filePath"><span><a href="file/src/utils/disposeObject.js.html">src/utils/disposeObject.js</a></span></td>
167
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-disposeThreeObject">disposeThreeObject</a></span></td>
168
- <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">2/2</span></td>
169
- <td style="display: none;" data-ice="size">955 byte</td>
170
- <td style="display: none;" data-ice="lines">39</td>
171
- <td style="display: none;" data-ice="updated">2025-04-03 06:06:09 (UTC)</td>
172
- </tr>
173
- <tr data-ice="file">
174
- <td data-ice="filePath"><span><a href="file/src/utils/helper.js.html#errorLines=15,19,23,27,31,35,44,48,58">src/utils/helper.js</a></span></td>
175
- <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-createArrowHelper">createArrowHelper</a></span>
176
- <span><a href="function/index.html#static-function-createAxesHelper">createAxesHelper</a></span>
177
- <span><a href="function/index.html#static-function-createBox3Helper">createBox3Helper</a></span>
178
- <span><a href="function/index.html#static-function-createCameraHelper">createCameraHelper</a></span>
179
- <span><a href="function/index.html#static-function-createGridHelper">createGridHelper</a></span>
180
- <span><a href="function/index.html#static-function-createMapControls">createMapControls</a></span>
181
- <span><a href="function/index.html#static-function-createOrbitControl">createOrbitControl</a></span>
182
- <span><a href="function/index.html#static-function-createRaycaster">createRaycaster</a></span>
183
- <span><a href="function/index.html#static-function-createStats">createStats</a></span></td>
184
- <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/9</span></td>
185
- <td style="display: none;" data-ice="size">1482 byte</td>
186
- <td style="display: none;" data-ice="lines">63</td>
187
- <td style="display: none;" data-ice="updated">2025-04-05 08:01:19 (UTC)</td>
188
- </tr>
189
- <tr data-ice="file">
190
- <td data-ice="filePath"><span><a href="file/src/utils/index.js.html">src/utils/index.js</a></span></td>
191
- <td data-ice="identifier" class="identifiers">-</td>
192
- <td class="coverage"><span data-ice="coverage">-</span></td>
193
- <td style="display: none;" data-ice="size">167 byte</td>
194
- <td style="display: none;" data-ice="lines">5</td>
195
- <td style="display: none;" data-ice="updated">2025-04-01 00:33:38 (UTC)</td>
196
- </tr>
197
- </tbody>
198
- </table>
199
- </div>
200
-
201
- <footer class="footer">
202
- 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>
203
- </footer>
204
-
205
- <script src="script/search_index.js"></script>
206
- <script src="script/search.js"></script>
207
- <script src="script/pretty-print.js"></script>
208
- <script src="script/inherited-summary.js"></script>
209
- <script src="script/test-summary.js"></script>
210
- <script src="script/inner-link.js"></script>
211
- <script src="script/patch-for-local.js"></script>
212
- </body>
213
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <base data-ice="baseUrl" href>
6
+ <title data-ice="title">Source | @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>Source <img data-ice="coverageBadge" src="./badge.svg"><span data-ice="totalCoverageCount" class="total-coverage-count">18/39</span></h1>
59
+
60
+ <table class="files-summary" data-ice="files" data-use-coverage="true">
61
+ <thead>
62
+ <tr>
63
+ <td>File</td>
64
+ <td>Identifier</td>
65
+ <td class="coverage">Document</td>
66
+ <td style="display: none;">Size</td>
67
+ <td style="display: none;">Lines</td>
68
+ <td style="display: none;">Updated</td>
69
+ </tr>
70
+ </thead>
71
+ <tbody>
72
+
73
+ <tr data-ice="file">
74
+ <td data-ice="filePath"><span><a href="file/src/hooks/index.js.html">src/hooks/index.js</a></span></td>
75
+ <td data-ice="identifier" class="identifiers">-</td>
76
+ <td class="coverage"><span data-ice="coverage">-</span></td>
77
+ <td style="display: none;" data-ice="size">125 byte</td>
78
+ <td style="display: none;" data-ice="lines">4</td>
79
+ <td style="display: none;" data-ice="updated">2025-04-05 08:53:34 (UTC)</td>
80
+ </tr>
81
+ <tr data-ice="file">
82
+ <td data-ice="filePath"><span><a href="file/src/hooks/useGLTFLoader.js.html">src/hooks/useGLTFLoader.js</a></span></td>
83
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-useGLTFLoader">useGLTFLoader</a></span></td>
84
+ <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">1/1</span></td>
85
+ <td style="display: none;" data-ice="size">2208 byte</td>
86
+ <td style="display: none;" data-ice="lines">71</td>
87
+ <td style="display: none;" data-ice="updated">2025-04-06 01:23:18 (UTC)</td>
88
+ </tr>
89
+ <tr data-ice="file">
90
+ <td data-ice="filePath"><span><a href="file/src/hooks/useObb.js.html#errorLines=5,6,8">src/hooks/useObb.js</a></span></td>
91
+ <td data-ice="identifier" class="identifiers"><span><a href="variable/index.html#static-variable-intersectColor">intersectColor</a></span>
92
+ <span><a href="variable/index.html#static-variable-obbObjects">obbObjects</a></span>
93
+ <span><a href="function/index.html#static-function-useObb">useObb</a></span></td>
94
+ <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/3</span></td>
95
+ <td style="display: none;" data-ice="size">2042 byte</td>
96
+ <td style="display: none;" data-ice="lines">74</td>
97
+ <td style="display: none;" data-ice="updated">2025-04-03 02:08:49 (UTC)</td>
98
+ </tr>
99
+ <tr data-ice="file">
100
+ <td data-ice="filePath"><span><a href="file/src/hooks/useRaycaster.js.html#errorLines=4">src/hooks/useRaycaster.js</a></span></td>
101
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-useRaycaster">useRaycaster</a></span></td>
102
+ <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/1</span></td>
103
+ <td style="display: none;" data-ice="size">2279 byte</td>
104
+ <td style="display: none;" data-ice="lines">78</td>
105
+ <td style="display: none;" data-ice="updated">2025-04-03 06:11:24 (UTC)</td>
106
+ </tr>
107
+ <tr data-ice="file">
108
+ <td data-ice="filePath"><span><a href="file/src/hooks/useThreeJs.js.html#errorLines=20">src/hooks/useThreeJs.js</a></span></td>
109
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-useThreeJs">useThreeJs</a></span></td>
110
+ <td class="coverage"><span data-ice="coverage">50 %</span><span data-ice="coverageCount" class="coverage-count">1/2</span></td>
111
+ <td style="display: none;" data-ice="size">7384 byte</td>
112
+ <td style="display: none;" data-ice="lines">287</td>
113
+ <td style="display: none;" data-ice="updated">2025-04-05 09:32:24 (UTC)</td>
114
+ </tr>
115
+ <tr data-ice="file">
116
+ <td data-ice="filePath"><span><a href="file/src/index.js.html">src/index.js</a></span></td>
117
+ <td data-ice="identifier" class="identifiers">-</td>
118
+ <td class="coverage"><span data-ice="coverage">-</span></td>
119
+ <td style="display: none;" data-ice="size">81 byte</td>
120
+ <td style="display: none;" data-ice="lines">3</td>
121
+ <td style="display: none;" data-ice="updated">2025-04-05 05:20:45 (UTC)</td>
122
+ </tr>
123
+ <tr data-ice="file">
124
+ <td data-ice="filePath"><span><a href="file/src/instance/IDBCache.js.html#errorLines=15,16">src/instance/IDBCache.js</a></span></td>
125
+ <td data-ice="identifier" class="identifiers"><span><a href="class/src/instance/IDBCache.js~IDBCache.html">IDBCache</a></span></td>
126
+ <td class="coverage"><span data-ice="coverage">84 %</span><span data-ice="coverageCount" class="coverage-count">11/13</span></td>
127
+ <td style="display: none;" data-ice="size">6523 byte</td>
128
+ <td style="display: none;" data-ice="lines">237</td>
129
+ <td style="display: none;" data-ice="updated">2025-04-05 08:22:57 (UTC)</td>
130
+ </tr>
131
+ <tr data-ice="file">
132
+ <td data-ice="filePath"><span><a href="file/src/instance/index.js.html">src/instance/index.js</a></span></td>
133
+ <td data-ice="identifier" class="identifiers">-</td>
134
+ <td class="coverage"><span data-ice="coverage">-</span></td>
135
+ <td style="display: none;" data-ice="size">29 byte</td>
136
+ <td style="display: none;" data-ice="lines">1</td>
137
+ <td style="display: none;" data-ice="updated">2025-04-05 05:20:38 (UTC)</td>
138
+ </tr>
139
+ <tr data-ice="file">
140
+ <td data-ice="filePath"><span><a href="file/src/utils/ImageLoader.js.html#errorLines=4,6">src/utils/ImageLoader.js</a></span></td>
141
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-ImageLoader">ImageLoader</a></span>
142
+ <span><a href="function/index.html#static-function-initEnvImage">initEnvImage</a></span></td>
143
+ <td class="coverage"><span data-ice="coverage">50 %</span><span data-ice="coverageCount" class="coverage-count">2/4</span></td>
144
+ <td style="display: none;" data-ice="size">1117 byte</td>
145
+ <td style="display: none;" data-ice="lines">43</td>
146
+ <td style="display: none;" data-ice="updated">2025-04-05 08:11:41 (UTC)</td>
147
+ </tr>
148
+ <tr data-ice="file">
149
+ <td data-ice="filePath"><span><a href="file/src/utils/common.js.html#errorLines=1">src/utils/common.js</a></span></td>
150
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-getCommonParent">getCommonParent</a></span></td>
151
+ <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/1</span></td>
152
+ <td style="display: none;" data-ice="size">639 byte</td>
153
+ <td style="display: none;" data-ice="lines">27</td>
154
+ <td style="display: none;" data-ice="updated">2025-04-03 06:08:12 (UTC)</td>
155
+ </tr>
156
+ <tr data-ice="file">
157
+ <td data-ice="filePath"><span><a href="file/src/utils/css3dHelper.js.html#errorLines=25,34">src/utils/css3dHelper.js</a></span></td>
158
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-createInfoPlane">createInfoPlane</a></span>
159
+ <span><a href="function/index.html#static-function-createTagPlane">createTagPlane</a></span></td>
160
+ <td class="coverage"><span data-ice="coverage">33 %</span><span data-ice="coverageCount" class="coverage-count">1/3</span></td>
161
+ <td style="display: none;" data-ice="size">1573 byte</td>
162
+ <td style="display: none;" data-ice="lines">56</td>
163
+ <td style="display: none;" data-ice="updated">2025-04-06 02:38:44 (UTC)</td>
164
+ </tr>
165
+ <tr data-ice="file">
166
+ <td data-ice="filePath"><span><a href="file/src/utils/disposeObject.js.html">src/utils/disposeObject.js</a></span></td>
167
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-disposeThreeObject">disposeThreeObject</a></span></td>
168
+ <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">2/2</span></td>
169
+ <td style="display: none;" data-ice="size">955 byte</td>
170
+ <td style="display: none;" data-ice="lines">39</td>
171
+ <td style="display: none;" data-ice="updated">2025-04-03 06:06:09 (UTC)</td>
172
+ </tr>
173
+ <tr data-ice="file">
174
+ <td data-ice="filePath"><span><a href="file/src/utils/helper.js.html#errorLines=15,19,23,27,31,35,44,48,58">src/utils/helper.js</a></span></td>
175
+ <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-createArrowHelper">createArrowHelper</a></span>
176
+ <span><a href="function/index.html#static-function-createAxesHelper">createAxesHelper</a></span>
177
+ <span><a href="function/index.html#static-function-createBox3Helper">createBox3Helper</a></span>
178
+ <span><a href="function/index.html#static-function-createCameraHelper">createCameraHelper</a></span>
179
+ <span><a href="function/index.html#static-function-createGridHelper">createGridHelper</a></span>
180
+ <span><a href="function/index.html#static-function-createMapControls">createMapControls</a></span>
181
+ <span><a href="function/index.html#static-function-createOrbitControl">createOrbitControl</a></span>
182
+ <span><a href="function/index.html#static-function-createRaycaster">createRaycaster</a></span>
183
+ <span><a href="function/index.html#static-function-createStats">createStats</a></span></td>
184
+ <td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/9</span></td>
185
+ <td style="display: none;" data-ice="size">1482 byte</td>
186
+ <td style="display: none;" data-ice="lines">63</td>
187
+ <td style="display: none;" data-ice="updated">2025-04-05 08:01:19 (UTC)</td>
188
+ </tr>
189
+ <tr data-ice="file">
190
+ <td data-ice="filePath"><span><a href="file/src/utils/index.js.html">src/utils/index.js</a></span></td>
191
+ <td data-ice="identifier" class="identifiers">-</td>
192
+ <td class="coverage"><span data-ice="coverage">-</span></td>
193
+ <td style="display: none;" data-ice="size">167 byte</td>
194
+ <td style="display: none;" data-ice="lines">5</td>
195
+ <td style="display: none;" data-ice="updated">2025-04-01 00:33:38 (UTC)</td>
196
+ </tr>
197
+ </tbody>
198
+ </table>
199
+ </div>
200
+
201
+ <footer class="footer">
202
+ 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>
203
+ </footer>
204
+
205
+ <script src="script/search_index.js"></script>
206
+ <script src="script/search.js"></script>
207
+ <script src="script/pretty-print.js"></script>
208
+ <script src="script/inherited-summary.js"></script>
209
+ <script src="script/test-summary.js"></script>
210
+ <script src="script/inner-link.js"></script>
211
+ <script src="script/patch-for-local.js"></script>
212
+ </body>
213
+ </html>