@yangyongtao/gaea 1.0.3 → 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.
- package/README.md +158 -67
- package/package.json +28 -7
- package/public/Gaea.apple-touch-icon.png +0 -0
- package/public/Gaea.apple-touch-icon.png.import +35 -0
- package/public/Gaea.audio.worklet.js +211 -0
- package/public/Gaea.html +245 -0
- package/public/Gaea.icon.png +0 -0
- package/public/Gaea.icon.png.import +35 -0
- package/public/Gaea.js +782 -0
- package/public/Gaea.png +0 -0
- package/public/Gaea.png.import +35 -0
- package/public/Gaea.worker.js +1 -0
- package/public/GaeaApp.html +275 -0
- package/public/GaeaMethods.js +4342 -0
- package/public/GaeaModule.html +276 -0
- package/public/config.js +76 -0
- package/public/constants.js +185 -0
- package/public/favicon.ico +0 -0
- package/public/image/1.png +0 -0
- package/public/image/12-min-min.gif +0 -0
- package/public/image/3.png +0 -0
- package/public/image/labelImg//345/217/263/350/276/271.png +0 -0
- package/public/image/labelImg//345/267/246/350/276/271.png +0 -0
- package/public/image/labelImg//346/260/264/344/275/215.png +0 -0
- package/public/image/screenIcon//345/205/266/344/273/226.png +0 -0
- package/public/image/screenIcon//345/256/211/345/205/250/347/233/221/346/265/213/350/201/232/345/220/210-/347/272/242.png +0 -0
- package/public/image/screenIcon//345/256/211/345/205/250/347/233/221/346/265/213/350/201/232/345/220/210-/347/273/277.png +0 -0
- package/public/image/screenIcon//346/212/242/351/231/251/345/215/225/344/275/215.png +0 -0
- package/public/image/screenIcon//346/226/255/351/235/242.png +0 -0
- package/public/image/screenIcon//346/227/240/344/272/272/346/234/272.png +0 -0
- package/public/image/screenIcon//346/227/240/344/272/272/346/234/272/345/237/272/345/234/260.png +0 -0
- package/public/image/screenIcon//346/260/264/345/272/223/347/253/231.png +0 -0
- package/public/image/screenIcon//346/260/264/346/226/207/346/265/213/347/253/231.png +0 -0
- package/public/image/screenIcon//346/260/264/351/227/270.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/346/227/240/346/225/260/346/215/256.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/346/255/243/345/270/270.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/350/266/205/344/277/235.png +0 -0
- package/public/image/screenIcon//346/262/263/351/201/223/347/253/231-/350/266/205/350/255/246.png +0 -0
- package/public/image/screenIcon//346/263/265/347/253/231-/347/201/260.png +0 -0
- package/public/image/screenIcon//346/263/265/347/253/231-/347/273/277.png +0 -0
- package/public/image/screenIcon//346/265/201/351/207/217/346/265/213/347/253/231.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-1/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-2/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-3/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-4/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-5/347/272/247.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/346/251/231.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/347/272/242.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/347/273/277.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/350/247/204/346/250/241/344/273/245/344/270/213.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230-/351/273/204.png +0 -0
- package/public/image/screenIcon//346/265/267/345/241/230.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/346/227/240/346/225/260/346/215/256.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/346/255/243/345/270/270.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/350/266/205/344/277/235.png +0 -0
- package/public/image/screenIcon//346/275/256/344/275/215/347/253/231-/350/266/205/350/255/246.png +0 -0
- package/public/image/screenIcon//347/211/251/350/265/204/344/273/223/345/272/223.png +0 -0
- package/public/image/screenIcon//347/220/203/346/234/272-/345/205/263.png +0 -0
- package/public/image/screenIcon//347/220/203/346/234/272-/345/274/200.png +0 -0
- package/public/image/screenIcon//347/220/203/346/234/272-/347/272/242.png +0 -0
- package/public/image/screenIcon//350/247/206/351/242/221/347/233/221/346/216/247.png +0 -0
- package/public/image/screenIcon//351/227/270/351/227/250-/347/201/260.png +0 -0
- package/public/image/screenIcon//351/227/270/351/227/250-/347/273/277.png +0 -0
- package/public/image/screenIcon//351/230/262/346/264/252/344/273/223/345/272/223.png +0 -0
- package/public/image/screenIcon//351/232/220/346/202/243.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/346/265/205/350/223/235.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/201/260.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/262/211.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/272/242.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/347/273/277.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/350/223/235.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/351/273/204.png +0 -0
- package/public/image/screenIcon//351/233/250/351/207/217/347/253/231-/351/273/221.png +0 -0
- package/public/image/screenIcon//351/243/216/351/200/237.png +0 -0
- package/public/image/screenIcon//351/243/216/351/200/237/346/265/213/347/253/231.png +0 -0
- package/public/image//346/260/264/346/226/207.gif +0 -0
- package/public/image//350/211/262/345/270/246.png +0 -0
- package/public/index.html +22 -0
- package/public/index.js +185662 -0
- package/public/jsWebControl-1.0.0.min.js +31 -0
- package/public/jsencrypt.min.js +1 -0
- package/public/math/Box2.js +203 -0
- package/public/math/Box3.js +532 -0
- package/public/math/Color.js +605 -0
- package/public/math/ColorManagement.js +74 -0
- package/public/math/Cylindrical.js +61 -0
- package/public/math/EngineUtils.js +81 -0
- package/public/math/Euler.js +315 -0
- package/public/math/Frustum.js +162 -0
- package/public/math/Interpolant.js +241 -0
- package/public/math/Line3.js +115 -0
- package/public/math/MathUtils.js +345 -0
- package/public/math/Matrix3.js +365 -0
- package/public/math/Matrix4.js +858 -0
- package/public/math/Plane.js +205 -0
- package/public/math/Quaternion.js +724 -0
- package/public/math/Ray.js +493 -0
- package/public/math/Sphere.js +243 -0
- package/public/math/Spherical.js +86 -0
- package/public/math/SphericalHarmonics3.js +243 -0
- package/public/math/Triangle.js +299 -0
- package/public/math/Vector2.js +464 -0
- package/public/math/Vector3.js +715 -0
- package/public/math/Vector4.js +644 -0
- package/public/math/interpolants/CubicInterpolant.js +151 -0
- package/public/math/interpolants/DiscreteInterpolant.js +26 -0
- package/public/math/interpolants/LinearInterpolant.js +38 -0
- package/public/math/interpolants/QuaternionLinearInterpolant.js +39 -0
- package/public/static/Cloud.png +0 -0
- package/public/static/Global2.jpg +0 -0
- package/public/static/css/main.css +170 -0
- package/public/static/geojson//346/265/267/345/241/230.geojson +99 -0
- package/public/static/img/loading.gif +0 -0
- package/public/static/js/app.js +359 -0
- package/public/static/js/appcontroller.js +207 -0
- package/public/static/js/dist/game.dev.js +137 -0
- package/public/static/js/env.js +74 -0
- package/public/static/js/event/event.js +107 -0
- package/public/static/js/init.js +8 -0
- package/public/static/js/initcloudmorph.js +1 -0
- package/public/static/js/log.js +35 -0
- package/public/static/js/network/ajax.js +29 -0
- package/public/static/js/network/rtcp.js +172 -0
- package/public/static/js/network/socket.js +106 -0
- package/public/web-control.min.js +2 -0
- package/scripts/postinstall.mjs +127 -0
- package/src/GaeaMethods.js +68 -405
- package/src/components/FlyAlongRoute.vue +1 -0
- package/src/components/WeatherControl.vue +2 -0
- package/src/directives/vDrag.js +70 -0
- package/src/index.js +1 -8
- package/src/plugin.js +16 -0
- package/src/utils.js +10 -21
- package/src/vite-plugin.js +117 -0
- package/public/static/1111.res +0 -0
- package/src/config.js +0 -40
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
class Matrix3 {
|
|
2
|
+
|
|
3
|
+
constructor() {
|
|
4
|
+
|
|
5
|
+
Matrix3.prototype.isMatrix3 = true;
|
|
6
|
+
this.elements = [
|
|
7
|
+
1, 0, 0,
|
|
8
|
+
0, 1, 0,
|
|
9
|
+
0, 0, 1
|
|
10
|
+
];
|
|
11
|
+
arguments.length === 0 ? this.identity() : this.fromArray(arguments);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
set(n11, n12, n13, n21, n22, n23, n31, n32, n33) {
|
|
15
|
+
|
|
16
|
+
const te = this.elements;
|
|
17
|
+
|
|
18
|
+
te[0] = n11; te[1] = n21; te[2] = n31;
|
|
19
|
+
te[3] = n12; te[4] = n22; te[5] = n32;
|
|
20
|
+
te[6] = n13; te[7] = n23; te[8] = n33;
|
|
21
|
+
|
|
22
|
+
return this;
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
identity() {
|
|
27
|
+
|
|
28
|
+
this.set(
|
|
29
|
+
|
|
30
|
+
1, 0, 0,
|
|
31
|
+
0, 1, 0,
|
|
32
|
+
0, 0, 1
|
|
33
|
+
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
return this;
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
copy(m) {
|
|
41
|
+
|
|
42
|
+
const te = this.elements;
|
|
43
|
+
const me = m.elements;
|
|
44
|
+
|
|
45
|
+
te[0] = me[0]; te[1] = me[1]; te[2] = me[2];
|
|
46
|
+
te[3] = me[3]; te[4] = me[4]; te[5] = me[5];
|
|
47
|
+
te[6] = me[6]; te[7] = me[7]; te[8] = me[8];
|
|
48
|
+
|
|
49
|
+
return this;
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
extractBasis(xAxis, yAxis, zAxis) {
|
|
54
|
+
|
|
55
|
+
xAxis.setFromMatrix3Column(this, 0);
|
|
56
|
+
yAxis.setFromMatrix3Column(this, 1);
|
|
57
|
+
zAxis.setFromMatrix3Column(this, 2);
|
|
58
|
+
|
|
59
|
+
return this;
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
setFromMatrix4(m) {
|
|
64
|
+
|
|
65
|
+
const me = m.elements;
|
|
66
|
+
|
|
67
|
+
this.set(
|
|
68
|
+
|
|
69
|
+
me[0], me[4], me[8],
|
|
70
|
+
me[1], me[5], me[9],
|
|
71
|
+
me[2], me[6], me[10]
|
|
72
|
+
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
return this;
|
|
76
|
+
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
multiply(m) {
|
|
80
|
+
|
|
81
|
+
return this.multiplyMatrices(this, m);
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
premultiply(m) {
|
|
86
|
+
|
|
87
|
+
return this.multiplyMatrices(m, this);
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
multiplyMatrices(a, b) {
|
|
92
|
+
|
|
93
|
+
const ae = a.elements;
|
|
94
|
+
const be = b.elements;
|
|
95
|
+
const te = this.elements;
|
|
96
|
+
|
|
97
|
+
const a11 = ae[0], a12 = ae[3], a13 = ae[6];
|
|
98
|
+
const a21 = ae[1], a22 = ae[4], a23 = ae[7];
|
|
99
|
+
const a31 = ae[2], a32 = ae[5], a33 = ae[8];
|
|
100
|
+
|
|
101
|
+
const b11 = be[0], b12 = be[3], b13 = be[6];
|
|
102
|
+
const b21 = be[1], b22 = be[4], b23 = be[7];
|
|
103
|
+
const b31 = be[2], b32 = be[5], b33 = be[8];
|
|
104
|
+
|
|
105
|
+
te[0] = a11 * b11 + a12 * b21 + a13 * b31;
|
|
106
|
+
te[3] = a11 * b12 + a12 * b22 + a13 * b32;
|
|
107
|
+
te[6] = a11 * b13 + a12 * b23 + a13 * b33;
|
|
108
|
+
|
|
109
|
+
te[1] = a21 * b11 + a22 * b21 + a23 * b31;
|
|
110
|
+
te[4] = a21 * b12 + a22 * b22 + a23 * b32;
|
|
111
|
+
te[7] = a21 * b13 + a22 * b23 + a23 * b33;
|
|
112
|
+
|
|
113
|
+
te[2] = a31 * b11 + a32 * b21 + a33 * b31;
|
|
114
|
+
te[5] = a31 * b12 + a32 * b22 + a33 * b32;
|
|
115
|
+
te[8] = a31 * b13 + a32 * b23 + a33 * b33;
|
|
116
|
+
|
|
117
|
+
return this;
|
|
118
|
+
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
multiplyScalar(s) {
|
|
122
|
+
|
|
123
|
+
const te = this.elements;
|
|
124
|
+
|
|
125
|
+
te[0] *= s; te[3] *= s; te[6] *= s;
|
|
126
|
+
te[1] *= s; te[4] *= s; te[7] *= s;
|
|
127
|
+
te[2] *= s; te[5] *= s; te[8] *= s;
|
|
128
|
+
|
|
129
|
+
return this;
|
|
130
|
+
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
determinant() {
|
|
134
|
+
|
|
135
|
+
const te = this.elements;
|
|
136
|
+
|
|
137
|
+
const a = te[0], b = te[1], c = te[2],
|
|
138
|
+
d = te[3], e = te[4], f = te[5],
|
|
139
|
+
g = te[6], h = te[7], i = te[8];
|
|
140
|
+
|
|
141
|
+
return a * e * i - a * f * h - b * d * i + b * f * g + c * d * h - c * e * g;
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
invert() {
|
|
146
|
+
|
|
147
|
+
const te = this.elements,
|
|
148
|
+
|
|
149
|
+
n11 = te[0], n21 = te[1], n31 = te[2],
|
|
150
|
+
n12 = te[3], n22 = te[4], n32 = te[5],
|
|
151
|
+
n13 = te[6], n23 = te[7], n33 = te[8],
|
|
152
|
+
|
|
153
|
+
t11 = n33 * n22 - n32 * n23,
|
|
154
|
+
t12 = n32 * n13 - n33 * n12,
|
|
155
|
+
t13 = n23 * n12 - n22 * n13,
|
|
156
|
+
|
|
157
|
+
det = n11 * t11 + n21 * t12 + n31 * t13;
|
|
158
|
+
|
|
159
|
+
if (det === 0) return this.set(0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
160
|
+
|
|
161
|
+
const detInv = 1 / det;
|
|
162
|
+
|
|
163
|
+
te[0] = t11 * detInv;
|
|
164
|
+
te[1] = (n31 * n23 - n33 * n21) * detInv;
|
|
165
|
+
te[2] = (n32 * n21 - n31 * n22) * detInv;
|
|
166
|
+
|
|
167
|
+
te[3] = t12 * detInv;
|
|
168
|
+
te[4] = (n33 * n11 - n31 * n13) * detInv;
|
|
169
|
+
te[5] = (n31 * n12 - n32 * n11) * detInv;
|
|
170
|
+
|
|
171
|
+
te[6] = t13 * detInv;
|
|
172
|
+
te[7] = (n21 * n13 - n23 * n11) * detInv;
|
|
173
|
+
te[8] = (n22 * n11 - n21 * n12) * detInv;
|
|
174
|
+
|
|
175
|
+
return this;
|
|
176
|
+
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
transpose() {
|
|
180
|
+
|
|
181
|
+
let tmp;
|
|
182
|
+
const m = this.elements;
|
|
183
|
+
|
|
184
|
+
tmp = m[1]; m[1] = m[3]; m[3] = tmp;
|
|
185
|
+
tmp = m[2]; m[2] = m[6]; m[6] = tmp;
|
|
186
|
+
tmp = m[5]; m[5] = m[7]; m[7] = tmp;
|
|
187
|
+
|
|
188
|
+
return this;
|
|
189
|
+
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
getNormalMatrix(matrix4) {
|
|
193
|
+
|
|
194
|
+
return this.setFromMatrix4(matrix4).invert().transpose();
|
|
195
|
+
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
transposeIntoArray(r) {
|
|
199
|
+
|
|
200
|
+
const m = this.elements;
|
|
201
|
+
|
|
202
|
+
r[0] = m[0];
|
|
203
|
+
r[1] = m[3];
|
|
204
|
+
r[2] = m[6];
|
|
205
|
+
r[3] = m[1];
|
|
206
|
+
r[4] = m[4];
|
|
207
|
+
r[5] = m[7];
|
|
208
|
+
r[6] = m[2];
|
|
209
|
+
r[7] = m[5];
|
|
210
|
+
r[8] = m[8];
|
|
211
|
+
|
|
212
|
+
return this;
|
|
213
|
+
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
setUvTransform(tx, ty, sx, sy, rotation, cx, cy) {
|
|
217
|
+
|
|
218
|
+
const c = Math.cos(rotation);
|
|
219
|
+
const s = Math.sin(rotation);
|
|
220
|
+
|
|
221
|
+
this.set(
|
|
222
|
+
sx * c, sx * s, - sx * (c * cx + s * cy) + cx + tx,
|
|
223
|
+
- sy * s, sy * c, - sy * (- s * cx + c * cy) + cy + ty,
|
|
224
|
+
0, 0, 1
|
|
225
|
+
);
|
|
226
|
+
|
|
227
|
+
return this;
|
|
228
|
+
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
//
|
|
232
|
+
|
|
233
|
+
scale(sx, sy) {
|
|
234
|
+
|
|
235
|
+
this.premultiply(_m3.makeScale(sx, sy));
|
|
236
|
+
|
|
237
|
+
return this;
|
|
238
|
+
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
rotate(theta) {
|
|
242
|
+
|
|
243
|
+
this.premultiply(_m3.makeRotation(- theta));
|
|
244
|
+
|
|
245
|
+
return this;
|
|
246
|
+
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
translate(tx, ty) {
|
|
250
|
+
|
|
251
|
+
this.premultiply(_m3.makeTranslation(tx, ty));
|
|
252
|
+
|
|
253
|
+
return this;
|
|
254
|
+
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// for 2D Transforms
|
|
258
|
+
|
|
259
|
+
makeTranslation(x, y) {
|
|
260
|
+
|
|
261
|
+
this.set(
|
|
262
|
+
|
|
263
|
+
1, 0, x,
|
|
264
|
+
0, 1, y,
|
|
265
|
+
0, 0, 1
|
|
266
|
+
|
|
267
|
+
);
|
|
268
|
+
|
|
269
|
+
return this;
|
|
270
|
+
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
makeRotation(theta) {
|
|
274
|
+
|
|
275
|
+
// counterclockwise
|
|
276
|
+
|
|
277
|
+
const c = Math.cos(theta);
|
|
278
|
+
const s = Math.sin(theta);
|
|
279
|
+
|
|
280
|
+
this.set(
|
|
281
|
+
|
|
282
|
+
c, - s, 0,
|
|
283
|
+
s, c, 0,
|
|
284
|
+
0, 0, 1
|
|
285
|
+
|
|
286
|
+
);
|
|
287
|
+
|
|
288
|
+
return this;
|
|
289
|
+
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
makeScale(x, y) {
|
|
293
|
+
|
|
294
|
+
this.set(
|
|
295
|
+
|
|
296
|
+
x, 0, 0,
|
|
297
|
+
0, y, 0,
|
|
298
|
+
0, 0, 1
|
|
299
|
+
|
|
300
|
+
);
|
|
301
|
+
|
|
302
|
+
return this;
|
|
303
|
+
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
//
|
|
307
|
+
|
|
308
|
+
equals(matrix) {
|
|
309
|
+
|
|
310
|
+
const te = this.elements;
|
|
311
|
+
const me = matrix.elements;
|
|
312
|
+
|
|
313
|
+
for (let i = 0; i < 9; i++) {
|
|
314
|
+
|
|
315
|
+
if (te[i] !== me[i]) return false;
|
|
316
|
+
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
return true;
|
|
320
|
+
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
fromArray(array, offset = 0) {
|
|
324
|
+
|
|
325
|
+
for (let i = 0; i < 9; i++) {
|
|
326
|
+
|
|
327
|
+
this.elements[i] = array[i + offset];
|
|
328
|
+
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
return this;
|
|
332
|
+
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
toArray(array = [], offset = 0) {
|
|
336
|
+
|
|
337
|
+
const te = this.elements;
|
|
338
|
+
|
|
339
|
+
array[offset] = te[0];
|
|
340
|
+
array[offset + 1] = te[1];
|
|
341
|
+
array[offset + 2] = te[2];
|
|
342
|
+
|
|
343
|
+
array[offset + 3] = te[3];
|
|
344
|
+
array[offset + 4] = te[4];
|
|
345
|
+
array[offset + 5] = te[5];
|
|
346
|
+
|
|
347
|
+
array[offset + 6] = te[6];
|
|
348
|
+
array[offset + 7] = te[7];
|
|
349
|
+
array[offset + 8] = te[8];
|
|
350
|
+
|
|
351
|
+
return array;
|
|
352
|
+
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
clone() {
|
|
356
|
+
|
|
357
|
+
return new this.constructor().fromArray(this.elements);
|
|
358
|
+
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
const _m3 = /*@__PURE__*/ new Matrix3();
|
|
364
|
+
|
|
365
|
+
export { Matrix3 };
|