viral-viewer-2 0.8.8 → 0.9.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.
package/LICENSE CHANGED
@@ -1,57 +1,57 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Viral
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
23
- ============
24
- == VIRAL ==
25
- ============
26
-
27
-
28
- Copyright (c) 2023, Viral
29
- All rights reserved.
30
-
31
- Redistribution and use in source and binary forms, with or without
32
- modification, are permitted provided that the following conditions are met:
33
-
34
- 1. Redistributions of source code must retain the above copyright notice, this
35
- list of conditions and the following disclaimer.
36
- 2. Redistributions in binary form must reproduce the above copyright notice,
37
- this list of conditions and the following disclaimer in the documentation
38
- and/or other materials provided with the distribution.
39
-
40
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
41
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
42
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
44
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
45
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
46
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
47
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
48
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
49
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50
-
51
- The views and conclusions contained in the software and documentation are those
52
- of the authors and should not be interpreted as representing official policies,
53
- either expressed or implied, of the FreeBSD Project.
54
-
55
-
56
- The MIT License (MIT)
57
-
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Viral
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ ============
24
+ == VIRAL ==
25
+ ============
26
+
27
+
28
+ Copyright (c) 2023, Viral
29
+ All rights reserved.
30
+
31
+ Redistribution and use in source and binary forms, with or without
32
+ modification, are permitted provided that the following conditions are met:
33
+
34
+ 1. Redistributions of source code must retain the above copyright notice, this
35
+ list of conditions and the following disclaimer.
36
+ 2. Redistributions in binary form must reproduce the above copyright notice,
37
+ this list of conditions and the following disclaimer in the documentation
38
+ and/or other materials provided with the distribution.
39
+
40
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
41
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
42
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
44
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
45
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
46
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
47
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
48
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
49
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50
+
51
+ The views and conclusions contained in the software and documentation are those
52
+ of the authors and should not be interpreted as representing official policies,
53
+ either expressed or implied, of the FreeBSD Project.
54
+
55
+
56
+ The MIT License (MIT)
57
+
@@ -75,10 +75,12 @@ class CubeScene {
75
75
  plane1.position.z = distanceFromCenterPoint;
76
76
  plane1.name = "FRONT";
77
77
  this.planes.push(plane1);
78
+ //right edge
78
79
  let plane11 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
79
80
  plane11.position.z = distanceFromCenterPoint;
80
81
  plane11.position.x = ((planeSize / 2) + (edgeWidth / 2));
81
82
  this.planes.push(plane11);
83
+ //left edge
82
84
  let plane12 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
83
85
  plane12.position.z = distanceFromCenterPoint;
84
86
  plane12.position.x = -((planeSize / 2) + (edgeWidth / 2));
@@ -92,7 +94,7 @@ class CubeScene {
92
94
  //bottom edge
93
95
  let plane14 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
94
96
  plane14.position.z = distanceFromCenterPoint;
95
- plane13.rotation.z = Math.PI / 2;
97
+ plane14.rotation.z = Math.PI / 2;
96
98
  plane14.position.y = -((planeSize / 2) + (edgeWidth / 2));
97
99
  this.planes.push(plane14);
98
100
  //#endregion
@@ -101,6 +103,28 @@ class CubeScene {
101
103
  plane2.position.z = -distanceFromCenterPoint;
102
104
  plane2.name = "BACK";
103
105
  this.planes.push(plane2);
106
+ //left edge
107
+ let plane21 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
108
+ plane21.position.z = -distanceFromCenterPoint;
109
+ plane21.position.x = ((planeSize / 2) + (edgeWidth / 2));
110
+ this.planes.push(plane21);
111
+ //right edge
112
+ let plane22 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
113
+ plane22.position.z = -distanceFromCenterPoint;
114
+ plane22.position.x = -((planeSize / 2) + (edgeWidth / 2));
115
+ this.planes.push(plane22);
116
+ //top edge
117
+ let plane23 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
118
+ plane23.position.z = -distanceFromCenterPoint;
119
+ plane23.rotation.z = Math.PI / 2;
120
+ plane23.position.y = ((planeSize / 2) + (edgeWidth / 2));
121
+ this.planes.push(plane23);
122
+ //bottom edge
123
+ let plane24 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
124
+ plane24.position.z = -distanceFromCenterPoint;
125
+ plane24.rotation.z = Math.PI / 2;
126
+ plane24.position.y = -((planeSize / 2) + (edgeWidth / 2));
127
+ this.planes.push(plane24);
104
128
  //#endregion
105
129
  //#region Right
106
130
  let plane3 = new three_1.Mesh(planeGeometry, planeMaterial.clone());
@@ -108,6 +132,32 @@ class CubeScene {
108
132
  plane3.position.x = distanceFromCenterPoint;
109
133
  plane3.name = "RIGHT";
110
134
  this.planes.push(plane3);
135
+ //left edge
136
+ let plane31 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
137
+ plane31.rotation.y = Math.PI / 2;
138
+ plane31.position.x = distanceFromCenterPoint;
139
+ plane31.position.z = ((planeSize / 2) + (edgeWidth / 2));
140
+ this.planes.push(plane31);
141
+ //right edge
142
+ let plane32 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
143
+ plane32.rotation.y = Math.PI / 2;
144
+ plane32.position.x = distanceFromCenterPoint;
145
+ plane32.position.z = -((planeSize / 2) + (edgeWidth / 2));
146
+ this.planes.push(plane32);
147
+ //top edge
148
+ let plane33 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
149
+ plane33.rotation.y = Math.PI / 2;
150
+ plane33.position.x = distanceFromCenterPoint;
151
+ plane33.rotation.z = Math.PI / 2;
152
+ plane33.position.y = ((planeSize / 2) + (edgeWidth / 2));
153
+ this.planes.push(plane33);
154
+ //bottom edge
155
+ let plane34 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
156
+ plane34.rotation.y = Math.PI / 2;
157
+ plane34.position.x = distanceFromCenterPoint;
158
+ plane34.rotation.z = Math.PI / 2;
159
+ plane34.position.y = -((planeSize / 2) + (edgeWidth / 2));
160
+ this.planes.push(plane34);
111
161
  //#endregion
112
162
  //#region Left
113
163
  let plane4 = new three_1.Mesh(planeGeometry, planeMaterial.clone());
@@ -115,6 +165,32 @@ class CubeScene {
115
165
  plane4.position.x = -distanceFromCenterPoint;
116
166
  plane4.name = "LEFT";
117
167
  this.planes.push(plane4);
168
+ //left edge
169
+ let plane41 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
170
+ plane41.rotation.y = Math.PI / 2;
171
+ plane41.position.x = -distanceFromCenterPoint;
172
+ plane41.position.z = ((planeSize / 2) + (edgeWidth / 2));
173
+ this.planes.push(plane41);
174
+ //right edge
175
+ let plane42 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
176
+ plane42.rotation.y = Math.PI / 2;
177
+ plane42.position.x = -distanceFromCenterPoint;
178
+ plane42.position.z = -((planeSize / 2) + (edgeWidth / 2));
179
+ this.planes.push(plane42);
180
+ //top edge
181
+ let plane43 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
182
+ plane43.rotation.y = Math.PI / 2;
183
+ plane43.position.x = -distanceFromCenterPoint;
184
+ plane43.rotation.z = Math.PI / 2;
185
+ plane43.position.y = ((planeSize / 2) + (edgeWidth / 2));
186
+ this.planes.push(plane43);
187
+ //bottom edge
188
+ let plane44 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
189
+ plane44.rotation.y = Math.PI / 2;
190
+ plane44.position.x = -distanceFromCenterPoint;
191
+ plane44.rotation.z = Math.PI / 2;
192
+ plane44.position.y = -((planeSize / 2) + (edgeWidth / 2));
193
+ this.planes.push(plane44);
118
194
  //#endregion
119
195
  //#region Top
120
196
  let plane5 = new three_1.Mesh(planeGeometry, planeMaterial.clone());
@@ -122,6 +198,32 @@ class CubeScene {
122
198
  plane5.position.y = distanceFromCenterPoint;
123
199
  plane5.name = "TOP";
124
200
  this.planes.push(plane5);
201
+ //right edge
202
+ let plane51 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
203
+ plane51.rotation.x = Math.PI / 2;
204
+ plane51.position.y = distanceFromCenterPoint;
205
+ plane51.position.x = ((planeSize / 2) + (edgeWidth / 2));
206
+ this.planes.push(plane51);
207
+ //left edge
208
+ let plane52 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
209
+ plane52.rotation.x = Math.PI / 2;
210
+ plane52.position.y = distanceFromCenterPoint;
211
+ plane52.position.x = -((planeSize / 2) + (edgeWidth / 2));
212
+ this.planes.push(plane52);
213
+ //top edge
214
+ let plane53 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
215
+ plane53.rotation.x = Math.PI / 2;
216
+ plane53.position.y = distanceFromCenterPoint;
217
+ plane53.rotation.y = Math.PI / 2;
218
+ plane53.position.z = ((planeSize / 2) + (edgeWidth / 2));
219
+ this.planes.push(plane53);
220
+ //bottom edge
221
+ let plane54 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
222
+ plane54.rotation.x = Math.PI / 2;
223
+ plane54.position.y = distanceFromCenterPoint;
224
+ plane54.rotation.y = Math.PI / 2;
225
+ plane54.position.z = -((planeSize / 2) + (edgeWidth / 2));
226
+ this.planes.push(plane54);
125
227
  //#endregion
126
228
  //#region Bottom
127
229
  let plane6 = new three_1.Mesh(planeGeometry, planeMaterial.clone());
@@ -129,6 +231,32 @@ class CubeScene {
129
231
  plane6.position.y = -distanceFromCenterPoint;
130
232
  plane6.name = "BOTTOM";
131
233
  this.planes.push(plane6);
234
+ //right edge
235
+ let plane61 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
236
+ plane61.rotation.x = Math.PI / 2;
237
+ plane61.position.y = -distanceFromCenterPoint;
238
+ plane61.position.x = ((planeSize / 2) + (edgeWidth / 2));
239
+ this.planes.push(plane61);
240
+ //left edge
241
+ let plane62 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
242
+ plane62.rotation.x = Math.PI / 2;
243
+ plane62.position.y = -distanceFromCenterPoint;
244
+ plane62.position.x = -((planeSize / 2) + (edgeWidth / 2));
245
+ this.planes.push(plane62);
246
+ //top edge
247
+ let plane63 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
248
+ plane63.rotation.x = Math.PI / 2;
249
+ plane63.position.y = -distanceFromCenterPoint;
250
+ plane63.rotation.z = Math.PI / 2;
251
+ plane63.position.z = ((planeSize / 2) + (edgeWidth / 2));
252
+ this.planes.push(plane63);
253
+ //bottom edge
254
+ let plane64 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
255
+ plane64.rotation.x = Math.PI / 2;
256
+ plane64.position.y = -distanceFromCenterPoint;
257
+ plane64.rotation.z = Math.PI / 2;
258
+ plane64.position.z = -((planeSize / 2) + (edgeWidth / 2));
259
+ this.planes.push(plane64);
132
260
  //#endregion
133
261
  let groundMaterial = new three_1.MeshBasicMaterial({
134
262
  color: 0xaaaaaa,
@@ -143,10 +271,30 @@ class CubeScene {
143
271
  this.addObject(plane13);
144
272
  this.addObject(plane14);
145
273
  this.addObject(plane2);
274
+ this.addObject(plane21);
275
+ this.addObject(plane22);
276
+ this.addObject(plane23);
277
+ this.addObject(plane24);
146
278
  this.addObject(plane3);
279
+ this.addObject(plane31);
280
+ this.addObject(plane32);
281
+ this.addObject(plane33);
282
+ this.addObject(plane34);
147
283
  this.addObject(plane4);
284
+ this.addObject(plane41);
285
+ this.addObject(plane42);
286
+ this.addObject(plane43);
287
+ this.addObject(plane44);
148
288
  this.addObject(plane5);
289
+ this.addObject(plane51);
290
+ this.addObject(plane52);
291
+ this.addObject(plane53);
292
+ this.addObject(plane54);
149
293
  this.addObject(plane6);
294
+ this.addObject(plane61);
295
+ this.addObject(plane62);
296
+ this.addObject(plane63);
297
+ this.addObject(plane64);
150
298
  this.addObject(groundPlane);
151
299
  }
152
300
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cube-scene.js","sourceRoot":"","sources":["../../../../src/components/navigation-cube/components/cube-scene.ts"],"names":[],"mappings":";;;AAAA,iCAce;AAEf,MAAa,SAAS;IAOlB,YAAmB,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;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CAAC,OAAO,CAAC,CAAC;QAExB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACvB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAExB,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAChC,CAAC;CAEJ;AA5UD,8BA4UC"}
@@ -26,12 +26,12 @@ class ViralNavigationCube {
26
26
  injectCubeWrapperElement() {
27
27
  const container = document.getElementById('container');
28
28
  if (container) {
29
- container.innerHTML += `<div style="position: absolute;
30
- right: 10px;
31
- top: 10px;
32
- display: flex;">
33
- <svg xmlns="http://www.w3.org/2000/svg" style="fill:white;cursor: pointer;" height="20px" viewBox="0 0 576 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"/></svg>
34
- <div id="orientCubeWrapper" style="height:130px;width:130px"></div>
29
+ container.innerHTML += `<div style="position: absolute;
30
+ right: 10px;
31
+ top: 10px;
32
+ display: flex;">
33
+ <svg xmlns="http://www.w3.org/2000/svg" style="fill:white;cursor: pointer;" height="20px" viewBox="0 0 576 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"/></svg>
34
+ <div id="orientCubeWrapper" style="height:130px;width:130px"></div>
35
35
  </div>`;
36
36
  }
37
37
  }
@@ -0,0 +1,126 @@
1
+ declare function addCustomMesh3(indices: any, vertices: any, material: any, callback: any): void;
2
+ declare function addCustomMesh4(indices: any, vertices: any, material: any, instances: any, callback: any): void;
3
+ declare function progressStructuralGeometries(json: any, callback: any): void;
4
+ declare function progressNoneStructuralGeometries(json: any, callback: any): void;
5
+ declare function rgbToHex(r: any, g: any, b: any): string;
6
+ declare function componentToHex(c: any): any;
7
+ declare class Matrix4 {
8
+ constructor(...args: any[]);
9
+ elements: number[];
10
+ set(n11: any, n12: any, n13: any, n14: any, n21: any, n22: any, n23: any, n24: any, n31: any, n32: any, n33: any, n34: any, n41: any, n42: any, n43: any, n44: any): Matrix4;
11
+ identity(): Matrix4;
12
+ clone(): Matrix4;
13
+ copy(m: any): Matrix4;
14
+ copyPosition(m: any): Matrix4;
15
+ setFromMatrix3(m: any): Matrix4;
16
+ extractBasis(xAxis: any, yAxis: any, zAxis: any): Matrix4;
17
+ makeBasis(xAxis: any, yAxis: any, zAxis: any): Matrix4;
18
+ extractRotation(m: any): Matrix4;
19
+ makeRotationFromEuler(euler: any): Matrix4;
20
+ makeRotationFromQuaternion(q: any): Matrix4;
21
+ lookAt(eye: any, target: any, up: any): Matrix4;
22
+ multiply(m: any, n: any): Matrix4;
23
+ premultiply(m: any): Matrix4;
24
+ multiplyMatrices(a: any, b: any): Matrix4;
25
+ multiplyScalar(s: any): Matrix4;
26
+ determinant(): number;
27
+ transpose(): Matrix4;
28
+ setPosition(x: any, y: any, z: any): Matrix4;
29
+ invert(): Matrix4;
30
+ scale(v: any): Matrix4;
31
+ getMaxScaleOnAxis(): number;
32
+ makeTranslation(x: any, y: any, z: any): Matrix4;
33
+ makeRotationX(theta: any): Matrix4;
34
+ makeRotationY(theta: any): Matrix4;
35
+ makeRotationZ(theta: any): Matrix4;
36
+ makeRotationAxis(axis: any, angle: any): Matrix4;
37
+ makeScale(x: any, y: any, z: any): Matrix4;
38
+ makeShear(xy: any, xz: any, yx: any, yz: any, zx: any, zy: any): Matrix4;
39
+ compose(position: any, quaternion: any, scale: any): Matrix4;
40
+ decompose(position: any, quaternion: any, scale: any): Matrix4;
41
+ makePerspective(left: any, right: any, top: any, bottom: any, near: any, far: any): Matrix4;
42
+ makeOrthographic(left: any, right: any, top: any, bottom: any, near: any, far: any): Matrix4;
43
+ equals(matrix: any): boolean;
44
+ fromArray(array: any, offset?: number): Matrix4;
45
+ toArray(array?: any[], offset?: number): any[];
46
+ isMatrix4: boolean;
47
+ }
48
+ declare class Vector3 {
49
+ constructor(x?: number, y?: number, z?: number);
50
+ x: number;
51
+ y: number;
52
+ z: number;
53
+ set(x: any, y: any, z: any): Vector3;
54
+ setScalar(scalar: any): Vector3;
55
+ setX(x: any): Vector3;
56
+ setY(y: any): Vector3;
57
+ setZ(z: any): Vector3;
58
+ setComponent(index: any, value: any): Vector3;
59
+ getComponent(index: any): number;
60
+ clone(): any;
61
+ copy(v: any): Vector3;
62
+ add(v: any, w: any): Vector3;
63
+ addScalar(s: any): Vector3;
64
+ addVectors(a: any, b: any): Vector3;
65
+ addScaledVector(v: any, s: any): Vector3;
66
+ sub(v: any, w: any): Vector3;
67
+ subScalar(s: any): Vector3;
68
+ subVectors(a: any, b: any): Vector3;
69
+ multiply(v: any, w: any): Vector3;
70
+ multiplyScalar(scalar: any): Vector3;
71
+ multiplyVectors(a: any, b: any): Vector3;
72
+ applyEuler(euler: any): Vector3;
73
+ applyAxisAngle(axis: any, angle: any): Vector3;
74
+ applyMatrix3(m: any): Vector3;
75
+ applyNormalMatrix(m: any): Vector3;
76
+ applyMatrix4(m: any): Vector3;
77
+ applyQuaternion(q: any): Vector3;
78
+ project(camera: any): Vector3;
79
+ unproject(camera: any): Vector3;
80
+ transformDirection(m: any): Vector3;
81
+ divide(v: any): Vector3;
82
+ divideScalar(scalar: any): Vector3;
83
+ min(v: any): Vector3;
84
+ max(v: any): Vector3;
85
+ clamp(min: any, max: any): Vector3;
86
+ clampScalar(minVal: any, maxVal: any): Vector3;
87
+ clampLength(min: any, max: any): Vector3;
88
+ floor(): Vector3;
89
+ ceil(): Vector3;
90
+ round(): Vector3;
91
+ roundToZero(): Vector3;
92
+ negate(): Vector3;
93
+ dot(v: any): number;
94
+ lengthSq(): number;
95
+ length(): number;
96
+ manhattanLength(): number;
97
+ normalize(): Vector3;
98
+ setLength(length: any): Vector3;
99
+ lerp(v: any, alpha: any): Vector3;
100
+ lerpVectors(v1: any, v2: any, alpha: any): Vector3;
101
+ cross(v: any, w: any): Vector3;
102
+ crossVectors(a: any, b: any): Vector3;
103
+ projectOnVector(v: any): Vector3;
104
+ projectOnPlane(planeNormal: any): Vector3;
105
+ reflect(normal: any): Vector3;
106
+ angleTo(v: any): number;
107
+ distanceTo(v: any): number;
108
+ distanceToSquared(v: any): number;
109
+ manhattanDistanceTo(v: any): number;
110
+ setFromSpherical(s: any): Vector3;
111
+ setFromSphericalCoords(radius: any, phi: any, theta: any): Vector3;
112
+ setFromCylindrical(c: any): Vector3;
113
+ setFromCylindricalCoords(radius: any, theta: any, y: any): Vector3;
114
+ setFromMatrixPosition(m: any): Vector3;
115
+ setFromMatrixScale(m: any): Vector3;
116
+ setFromMatrixColumn(m: any, index: any): Vector3;
117
+ setFromMatrix3Column(m: any, index: any): Vector3;
118
+ equals(v: any): boolean;
119
+ fromArray(array: any, offset?: number): Vector3;
120
+ toArray(array?: any[], offset?: number): any[];
121
+ fromBufferAttribute(attribute: any, index: any, offset: any): Vector3;
122
+ random(): Vector3;
123
+ randomDirection(): Vector3;
124
+ isVector3: boolean;
125
+ [Symbol.iterator](): Generator<number, void, unknown>;
126
+ }