@galacean/engine-xr-webxr 1.3.18 → 1.3.20
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/dist/browser.js +43 -2
- package/dist/browser.js.map +1 -1
- package/dist/browser.min.js +1 -1
- package/dist/browser.min.js.map +1 -1
- package/dist/main.js +41 -0
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +52 -0
- package/dist/module.js +41 -0
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/dist/miniprogram.js
CHANGED
|
@@ -437,6 +437,16 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
437
437
|
return this;
|
|
438
438
|
};
|
|
439
439
|
/**
|
|
440
|
+
* Copy to vector3 like object.
|
|
441
|
+
* @param target - Vector3 like object
|
|
442
|
+
* @returns This Vector3 like object
|
|
443
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
444
|
+
target.x = this._x;
|
|
445
|
+
target.y = this._y;
|
|
446
|
+
target.z = this._z;
|
|
447
|
+
return target;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
440
450
|
* Copy the value of this vector from an array.
|
|
441
451
|
* @param array - The array
|
|
442
452
|
* @param offset - The start offset of the array
|
|
@@ -2355,6 +2365,17 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
2355
2365
|
return this;
|
|
2356
2366
|
};
|
|
2357
2367
|
/**
|
|
2368
|
+
* Copy this quaternion to the specified quaternion.
|
|
2369
|
+
* @param target - The specified quaternion
|
|
2370
|
+
* @returns This specified quaternion
|
|
2371
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
2372
|
+
target.x = this._x;
|
|
2373
|
+
target.y = this._y;
|
|
2374
|
+
target.z = this._z;
|
|
2375
|
+
target.w = this._w;
|
|
2376
|
+
return target;
|
|
2377
|
+
};
|
|
2378
|
+
/**
|
|
2358
2379
|
* Copy the value of this quaternion from an array.
|
|
2359
2380
|
* @param array - The array
|
|
2360
2381
|
* @param offset - The start offset of the array
|
|
@@ -3920,6 +3941,15 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
3920
3941
|
return this;
|
|
3921
3942
|
};
|
|
3922
3943
|
/**
|
|
3944
|
+
* Copy to vector2 like object.
|
|
3945
|
+
* @param target - Vector2 like object
|
|
3946
|
+
* @returns This Vector2 like object
|
|
3947
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
3948
|
+
target.x = this._x;
|
|
3949
|
+
target.y = this._y;
|
|
3950
|
+
return target;
|
|
3951
|
+
};
|
|
3952
|
+
/**
|
|
3923
3953
|
* Copy the value of this vector from an array.
|
|
3924
3954
|
* @param array - The array
|
|
3925
3955
|
* @param offset - The start offset of the array
|
|
@@ -4266,6 +4296,17 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
4266
4296
|
return this;
|
|
4267
4297
|
};
|
|
4268
4298
|
/**
|
|
4299
|
+
* Copy to vector4 like object.
|
|
4300
|
+
* @param target - Vector4 like object
|
|
4301
|
+
* @returns This Vector4 like object
|
|
4302
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
4303
|
+
target.x = this._x;
|
|
4304
|
+
target.y = this._y;
|
|
4305
|
+
target.z = this._z;
|
|
4306
|
+
target.w = this._w;
|
|
4307
|
+
return target;
|
|
4308
|
+
};
|
|
4309
|
+
/**
|
|
4269
4310
|
* Copy the value of this vector by an array.
|
|
4270
4311
|
* @param array - The array
|
|
4271
4312
|
* @param offset - The start offset of the array
|
|
@@ -4635,6 +4676,17 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
4635
4676
|
return this;
|
|
4636
4677
|
};
|
|
4637
4678
|
/**
|
|
4679
|
+
* Copy to color like object.
|
|
4680
|
+
* @param target - Color like object.
|
|
4681
|
+
* @returns This Color like object
|
|
4682
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
4683
|
+
target.r = this._r;
|
|
4684
|
+
target.g = this._g;
|
|
4685
|
+
target.b = this._b;
|
|
4686
|
+
target.a = this._a;
|
|
4687
|
+
return target;
|
|
4688
|
+
};
|
|
4689
|
+
/**
|
|
4638
4690
|
* Copy from array like object.
|
|
4639
4691
|
* @param source - Array like object
|
|
4640
4692
|
* @param offset - The start offset
|
package/dist/module.js
CHANGED
|
@@ -423,6 +423,16 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
423
423
|
return this;
|
|
424
424
|
};
|
|
425
425
|
/**
|
|
426
|
+
* Copy to vector3 like object.
|
|
427
|
+
* @param target - Vector3 like object
|
|
428
|
+
* @returns This Vector3 like object
|
|
429
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
430
|
+
target.x = this._x;
|
|
431
|
+
target.y = this._y;
|
|
432
|
+
target.z = this._z;
|
|
433
|
+
return target;
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
426
436
|
* Copy the value of this vector from an array.
|
|
427
437
|
* @param array - The array
|
|
428
438
|
* @param offset - The start offset of the array
|
|
@@ -2139,6 +2149,17 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
2139
2149
|
return this;
|
|
2140
2150
|
};
|
|
2141
2151
|
/**
|
|
2152
|
+
* Copy this quaternion to the specified quaternion.
|
|
2153
|
+
* @param target - The specified quaternion
|
|
2154
|
+
* @returns This specified quaternion
|
|
2155
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
2156
|
+
target.x = this._x;
|
|
2157
|
+
target.y = this._y;
|
|
2158
|
+
target.z = this._z;
|
|
2159
|
+
target.w = this._w;
|
|
2160
|
+
return target;
|
|
2161
|
+
};
|
|
2162
|
+
/**
|
|
2142
2163
|
* Copy the value of this quaternion from an array.
|
|
2143
2164
|
* @param array - The array
|
|
2144
2165
|
* @param offset - The start offset of the array
|
|
@@ -3660,6 +3681,15 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
3660
3681
|
return this;
|
|
3661
3682
|
};
|
|
3662
3683
|
/**
|
|
3684
|
+
* Copy to vector2 like object.
|
|
3685
|
+
* @param target - Vector2 like object
|
|
3686
|
+
* @returns This Vector2 like object
|
|
3687
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
3688
|
+
target.x = this._x;
|
|
3689
|
+
target.y = this._y;
|
|
3690
|
+
return target;
|
|
3691
|
+
};
|
|
3692
|
+
/**
|
|
3663
3693
|
* Copy the value of this vector from an array.
|
|
3664
3694
|
* @param array - The array
|
|
3665
3695
|
* @param offset - The start offset of the array
|
|
@@ -4006,6 +4036,17 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
4006
4036
|
return this;
|
|
4007
4037
|
};
|
|
4008
4038
|
/**
|
|
4039
|
+
* Copy to vector4 like object.
|
|
4040
|
+
* @param target - Vector4 like object
|
|
4041
|
+
* @returns This Vector4 like object
|
|
4042
|
+
*/ _proto.copyTo = function copyTo(target) {
|
|
4043
|
+
target.x = this._x;
|
|
4044
|
+
target.y = this._y;
|
|
4045
|
+
target.z = this._z;
|
|
4046
|
+
target.w = this._w;
|
|
4047
|
+
return target;
|
|
4048
|
+
};
|
|
4049
|
+
/**
|
|
4009
4050
|
* Copy the value of this vector by an array.
|
|
4010
4051
|
* @param array - The array
|
|
4011
4052
|
* @param offset - The start offset of the array
|