@math.gl/core 4.0.0-beta.1 → 4.0.1

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 (124) hide show
  1. package/dist/classes/base/math-array.d.ts +1 -2
  2. package/dist/classes/base/math-array.js +220 -266
  3. package/dist/classes/base/matrix.d.ts +1 -2
  4. package/dist/classes/base/matrix.js +52 -53
  5. package/dist/classes/base/vector.d.ts +1 -2
  6. package/dist/classes/base/vector.js +121 -135
  7. package/dist/classes/euler.d.ts +2 -3
  8. package/dist/classes/euler.js +462 -533
  9. package/dist/classes/matrix3.d.ts +2 -3
  10. package/dist/classes/matrix3.js +185 -190
  11. package/dist/classes/matrix4.d.ts +1 -2
  12. package/dist/classes/matrix4.js +516 -452
  13. package/dist/classes/pose.d.ts +4 -5
  14. package/dist/classes/pose.js +104 -119
  15. package/dist/classes/quaternion.d.ts +1 -2
  16. package/dist/classes/quaternion.js +257 -233
  17. package/dist/classes/spherical-coordinates.d.ts +3 -4
  18. package/dist/classes/spherical-coordinates.js +138 -147
  19. package/dist/classes/vector2.d.ts +1 -2
  20. package/dist/classes/vector2.js +101 -85
  21. package/dist/classes/vector3.d.ts +1 -2
  22. package/dist/classes/vector3.js +125 -136
  23. package/dist/classes/vector4.d.ts +2 -3
  24. package/dist/classes/vector4.js +106 -114
  25. package/dist/gl-matrix/common.d.ts +0 -1
  26. package/dist/gl-matrix/common.js +38 -6
  27. package/dist/gl-matrix/mat3.d.ts +0 -1
  28. package/dist/gl-matrix/mat3.js +699 -425
  29. package/dist/gl-matrix/mat4.d.ts +0 -1
  30. package/dist/gl-matrix/mat4.js +1879 -1339
  31. package/dist/gl-matrix/quat.d.ts +0 -1
  32. package/dist/gl-matrix/quat.js +655 -257
  33. package/dist/gl-matrix/vec2.d.ts +0 -1
  34. package/dist/gl-matrix/vec2.js +529 -212
  35. package/dist/gl-matrix/vec3.d.ts +0 -1
  36. package/dist/gl-matrix/vec3.js +703 -335
  37. package/dist/gl-matrix/vec4.d.ts +0 -1
  38. package/dist/gl-matrix/vec4.js +579 -293
  39. package/dist/gl-matrix/wip/index.d.ts +3 -4
  40. package/dist/gl-matrix/wip/index.js +2 -1
  41. package/dist/gl-matrix/wip/mat2.d.ts +0 -1
  42. package/dist/gl-matrix/wip/mat2.js +333 -157
  43. package/dist/gl-matrix/wip/mat2d.d.ts +0 -1
  44. package/dist/gl-matrix/wip/mat2d.js +377 -202
  45. package/dist/gl-matrix/wip/quat2.d.ts +0 -1
  46. package/dist/gl-matrix/wip/quat2.js +647 -409
  47. package/dist/index.cjs +60 -100
  48. package/dist/index.cjs.map +7 -0
  49. package/dist/index.d.ts +21 -22
  50. package/dist/index.js +23 -16
  51. package/dist/lib/assert.d.ts +0 -1
  52. package/dist/lib/assert.js +3 -4
  53. package/dist/lib/common.d.ts +2 -3
  54. package/dist/lib/common.js +163 -134
  55. package/dist/lib/gl-matrix-extras.d.ts +0 -1
  56. package/dist/lib/gl-matrix-extras.js +39 -36
  57. package/dist/lib/math-utils.d.ts +0 -1
  58. package/dist/lib/math-utils.js +2 -1
  59. package/dist/lib/validators.d.ts +0 -1
  60. package/dist/lib/validators.js +22 -25
  61. package/package.json +5 -6
  62. package/src/classes/matrix3.ts +1 -1
  63. package/dist/classes/base/math-array.d.ts.map +0 -1
  64. package/dist/classes/base/math-array.js.map +0 -1
  65. package/dist/classes/base/matrix.d.ts.map +0 -1
  66. package/dist/classes/base/matrix.js.map +0 -1
  67. package/dist/classes/base/vector.d.ts.map +0 -1
  68. package/dist/classes/base/vector.js.map +0 -1
  69. package/dist/classes/euler.d.ts.map +0 -1
  70. package/dist/classes/euler.js.map +0 -1
  71. package/dist/classes/matrix3.d.ts.map +0 -1
  72. package/dist/classes/matrix3.js.map +0 -1
  73. package/dist/classes/matrix4.d.ts.map +0 -1
  74. package/dist/classes/matrix4.js.map +0 -1
  75. package/dist/classes/pose.d.ts.map +0 -1
  76. package/dist/classes/pose.js.map +0 -1
  77. package/dist/classes/quaternion.d.ts.map +0 -1
  78. package/dist/classes/quaternion.js.map +0 -1
  79. package/dist/classes/spherical-coordinates.d.ts.map +0 -1
  80. package/dist/classes/spherical-coordinates.js.map +0 -1
  81. package/dist/classes/vector2.d.ts.map +0 -1
  82. package/dist/classes/vector2.js.map +0 -1
  83. package/dist/classes/vector3.d.ts.map +0 -1
  84. package/dist/classes/vector3.js.map +0 -1
  85. package/dist/classes/vector4.d.ts.map +0 -1
  86. package/dist/classes/vector4.js.map +0 -1
  87. package/dist/gl-matrix/common.d.ts.map +0 -1
  88. package/dist/gl-matrix/common.js.map +0 -1
  89. package/dist/gl-matrix/mat3.d.ts.map +0 -1
  90. package/dist/gl-matrix/mat3.js.map +0 -1
  91. package/dist/gl-matrix/mat4.d.ts.map +0 -1
  92. package/dist/gl-matrix/mat4.js.map +0 -1
  93. package/dist/gl-matrix/quat.d.ts.map +0 -1
  94. package/dist/gl-matrix/quat.js.map +0 -1
  95. package/dist/gl-matrix/vec2.d.ts.map +0 -1
  96. package/dist/gl-matrix/vec2.js.map +0 -1
  97. package/dist/gl-matrix/vec3.d.ts.map +0 -1
  98. package/dist/gl-matrix/vec3.js.map +0 -1
  99. package/dist/gl-matrix/vec4.d.ts.map +0 -1
  100. package/dist/gl-matrix/vec4.js.map +0 -1
  101. package/dist/gl-matrix/wip/index.d.ts.map +0 -1
  102. package/dist/gl-matrix/wip/index.js.map +0 -1
  103. package/dist/gl-matrix/wip/mat2.d.ts.map +0 -1
  104. package/dist/gl-matrix/wip/mat2.js.map +0 -1
  105. package/dist/gl-matrix/wip/mat2d.d.ts.map +0 -1
  106. package/dist/gl-matrix/wip/mat2d.js.map +0 -1
  107. package/dist/gl-matrix/wip/quat2.d.ts.map +0 -1
  108. package/dist/gl-matrix/wip/quat2.js.map +0 -1
  109. package/dist/gl-matrix/wip/types.d.js +0 -2
  110. package/dist/gl-matrix/wip/types.d.js.map +0 -1
  111. package/dist/index.d.ts.map +0 -1
  112. package/dist/index.js.map +0 -1
  113. package/dist/lib/assert.d.ts.map +0 -1
  114. package/dist/lib/assert.js.map +0 -1
  115. package/dist/lib/common.d.ts.map +0 -1
  116. package/dist/lib/common.js.map +0 -1
  117. package/dist/lib/gl-matrix-extras.d.ts.map +0 -1
  118. package/dist/lib/gl-matrix-extras.js.map +0 -1
  119. package/dist/lib/gl-matrix.d.js +0 -2
  120. package/dist/lib/gl-matrix.d.js.map +0 -1
  121. package/dist/lib/math-utils.d.ts.map +0 -1
  122. package/dist/lib/math-utils.js.map +0 -1
  123. package/dist/lib/validators.d.ts.map +0 -1
  124. package/dist/lib/validators.js.map +0 -1
@@ -1,155 +1,146 @@
1
- import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
1
  import { Vector3 } from "./vector3.js";
3
2
  import { formatValue, equals, config } from "../lib/common.js";
4
3
  import { degrees, radians, clamp } from "../lib/common.js";
4
+ // @ts-ignore gl-matrix types...
5
5
  import * as vec3 from "../gl-matrix/vec3.js";
6
+ // TODO - import epsilon
6
7
  const EPSILON = 0.000001;
7
8
  const EARTH_RADIUS_METERS = 6371000;
9
+ /**
10
+ * The poles (phi) are at the positive and negative y axis.
11
+ * The equator starts at positive z.
12
+ * @link https://en.wikipedia.org/wiki/Spherical_coordinate_system
13
+ */
8
14
  export class SphericalCoordinates {
9
- constructor({
10
- phi = 0,
11
- theta = 0,
12
- radius = 1,
13
- bearing,
14
- pitch,
15
- altitude,
16
- radiusScale = EARTH_RADIUS_METERS
17
- } = {}) {
18
- _defineProperty(this, "phi", void 0);
19
-
20
- _defineProperty(this, "theta", void 0);
21
-
22
- _defineProperty(this, "radius", void 0);
23
-
24
- _defineProperty(this, "radiusScale", void 0);
25
-
26
- this.phi = phi;
27
- this.theta = theta;
28
- this.radius = radius || altitude || 1;
29
- this.radiusScale = radiusScale || 1;
30
-
31
- if (bearing !== undefined) {
32
- this.bearing = bearing;
33
- }
34
-
35
- if (pitch !== undefined) {
36
- this.pitch = pitch;
37
- }
38
-
39
- this.check();
40
- }
41
-
42
- toString() {
43
- return this.formatString(config);
44
- }
45
-
46
- formatString({
47
- printTypes = false
48
- }) {
49
- const f = formatValue;
50
- return "".concat(printTypes ? 'Spherical' : '', "[rho:").concat(f(this.radius), ",theta:").concat(f(this.theta), ",phi:").concat(f(this.phi), "]");
51
- }
52
-
53
- equals(other) {
54
- return equals(this.radius, other.radius) && equals(this.theta, other.theta) && equals(this.phi, other.phi);
55
- }
56
-
57
- exactEquals(other) {
58
- return this.radius === other.radius && this.theta === other.theta && this.phi === other.phi;
59
- }
60
-
61
- get bearing() {
62
- return 180 - degrees(this.phi);
63
- }
64
-
65
- set bearing(v) {
66
- this.phi = Math.PI - radians(v);
67
- }
68
-
69
- get pitch() {
70
- return degrees(this.theta);
71
- }
72
-
73
- set pitch(v) {
74
- this.theta = radians(v);
75
- }
76
-
77
- get longitude() {
78
- return degrees(this.phi);
79
- }
80
-
81
- get latitude() {
82
- return degrees(this.theta);
83
- }
84
-
85
- get lng() {
86
- return degrees(this.phi);
87
- }
88
-
89
- get lat() {
90
- return degrees(this.theta);
91
- }
92
-
93
- get z() {
94
- return (this.radius - 1) * this.radiusScale;
95
- }
96
-
97
- set(radius, phi, theta) {
98
- this.radius = radius;
99
- this.phi = phi;
100
- this.theta = theta;
101
- return this.check();
102
- }
103
-
104
- clone() {
105
- return new SphericalCoordinates().copy(this);
106
- }
107
-
108
- copy(other) {
109
- this.radius = other.radius;
110
- this.phi = other.phi;
111
- this.theta = other.theta;
112
- return this.check();
113
- }
114
-
115
- fromLngLatZ([lng, lat, z]) {
116
- this.radius = 1 + z / this.radiusScale;
117
- this.phi = radians(lat);
118
- this.theta = radians(lng);
119
- return this.check();
120
- }
121
-
122
- fromVector3(v) {
123
- this.radius = vec3.length(v);
124
-
125
- if (this.radius > 0) {
126
- this.theta = Math.atan2(v[0], v[1]);
127
- this.phi = Math.acos(clamp(v[2] / this.radius, -1, 1));
128
- }
129
-
130
- return this.check();
131
- }
132
-
133
- toVector3() {
134
- return new Vector3(0, 0, this.radius).rotateX({
135
- radians: this.theta
136
- }).rotateZ({
137
- radians: this.phi
138
- });
139
- }
140
-
141
- makeSafe() {
142
- this.phi = Math.max(EPSILON, Math.min(Math.PI - EPSILON, this.phi));
143
- return this;
144
- }
145
-
146
- check() {
147
- if (!Number.isFinite(this.phi) || !Number.isFinite(this.theta) || !(this.radius > 0)) {
148
- throw new Error('SphericalCoordinates: some fields set to invalid numbers');
149
- }
150
-
151
- return this;
152
- }
153
-
15
+ // bearing: number;
16
+ // pitch: number;
17
+ // altitude: number;
18
+ // lnglatZ coordinates
19
+ // longitude: number;
20
+ // latitude: number;
21
+ // lng: number;
22
+ // lat: number;
23
+ // z: number;
24
+ /**
25
+ * Creates a new SphericalCoordinates object
26
+ * @param options
27
+ * @param [options.phi] =0 - rotation around X (latitude)
28
+ * @param [options.theta] =0 - rotation around Y (longitude)
29
+ * @param [options.radius] =1 - Distance from center
30
+ * @param [options.bearing]
31
+ * @param [options.pitch]
32
+ * @param [options.altitude]
33
+ * @param [options.radiusScale] =1
34
+ */
35
+ // eslint-disable-next-line complexity
36
+ constructor({ phi = 0, theta = 0, radius = 1, bearing, pitch, altitude, radiusScale = EARTH_RADIUS_METERS } = {}) {
37
+ this.phi = phi;
38
+ this.theta = theta;
39
+ // TODO - silently accepts illegal 0
40
+ this.radius = radius || altitude || 1; // radial distance from center
41
+ this.radiusScale = radiusScale || 1; // Used by lngLatZ
42
+ if (bearing !== undefined) {
43
+ this.bearing = bearing; // up / down towards top and bottom pole
44
+ }
45
+ if (pitch !== undefined) {
46
+ this.pitch = pitch; // around the equator of the sphere
47
+ }
48
+ this.check();
49
+ }
50
+ toString() {
51
+ return this.formatString(config);
52
+ }
53
+ formatString({ printTypes = false }) {
54
+ const f = formatValue;
55
+ return `${printTypes ? 'Spherical' : ''}\
56
+ [rho:${f(this.radius)},theta:${f(this.theta)},phi:${f(this.phi)}]`;
57
+ }
58
+ equals(other) {
59
+ return (equals(this.radius, other.radius) &&
60
+ equals(this.theta, other.theta) &&
61
+ equals(this.phi, other.phi));
62
+ }
63
+ exactEquals(other) {
64
+ return this.radius === other.radius && this.theta === other.theta && this.phi === other.phi;
65
+ }
66
+ /* eslint-disable brace-style */
67
+ // Cartographic (bearing 0 north, pitch 0 look from above)
68
+ get bearing() {
69
+ return 180 - degrees(this.phi);
70
+ }
71
+ set bearing(v) {
72
+ this.phi = Math.PI - radians(v);
73
+ }
74
+ get pitch() {
75
+ return degrees(this.theta);
76
+ }
77
+ set pitch(v) {
78
+ this.theta = radians(v);
79
+ }
80
+ // get pitch() { return 90 - degrees(this.phi); }
81
+ // set pitch(v) { this.phi = radians(v) + Math.PI / 2; }
82
+ // get altitude() { return this.radius - 1; } // relative altitude
83
+ // lnglatZ coordinates
84
+ get longitude() {
85
+ return degrees(this.phi);
86
+ }
87
+ get latitude() {
88
+ return degrees(this.theta);
89
+ }
90
+ get lng() {
91
+ return degrees(this.phi);
92
+ }
93
+ get lat() {
94
+ return degrees(this.theta);
95
+ }
96
+ get z() {
97
+ return (this.radius - 1) * this.radiusScale;
98
+ }
99
+ /* eslint-enable brace-style */
100
+ set(radius, phi, theta) {
101
+ this.radius = radius;
102
+ this.phi = phi;
103
+ this.theta = theta;
104
+ return this.check();
105
+ }
106
+ clone() {
107
+ return new SphericalCoordinates().copy(this);
108
+ }
109
+ copy(other) {
110
+ this.radius = other.radius;
111
+ this.phi = other.phi;
112
+ this.theta = other.theta;
113
+ return this.check();
114
+ }
115
+ fromLngLatZ([lng, lat, z]) {
116
+ this.radius = 1 + z / this.radiusScale;
117
+ this.phi = radians(lat);
118
+ this.theta = radians(lng);
119
+ return this.check();
120
+ }
121
+ fromVector3(v) {
122
+ this.radius = vec3.length(v);
123
+ if (this.radius > 0) {
124
+ this.theta = Math.atan2(v[0], v[1]); // equator angle around y-up axis
125
+ this.phi = Math.acos(clamp(v[2] / this.radius, -1, 1)); // polar angle
126
+ }
127
+ return this.check();
128
+ }
129
+ toVector3() {
130
+ return new Vector3(0, 0, this.radius)
131
+ .rotateX({ radians: this.theta })
132
+ .rotateZ({ radians: this.phi });
133
+ }
134
+ // restrict phi to be betwee EPS and PI-EPS
135
+ makeSafe() {
136
+ this.phi = Math.max(EPSILON, Math.min(Math.PI - EPSILON, this.phi));
137
+ return this;
138
+ }
139
+ check() {
140
+ // this.makeSafe();
141
+ if (!Number.isFinite(this.phi) || !Number.isFinite(this.theta) || !(this.radius > 0)) {
142
+ throw new Error('SphericalCoordinates: some fields set to invalid numbers');
143
+ }
144
+ return this;
145
+ }
154
146
  }
155
- //# sourceMappingURL=spherical-coordinates.js.map
@@ -1,4 +1,4 @@
1
- import { Vector } from './base/vector';
1
+ import { Vector } from "./base/vector.js";
2
2
  import { NumericArray } from '@math.gl/types';
3
3
  /**
4
4
  * Two-element vector class.
@@ -52,4 +52,3 @@ export declare class Vector2 extends Vector {
52
52
  transformByMatrix2x3(matrix2x3: Readonly<NumericArray>): this;
53
53
  transformByMatrix2(matrix2: Readonly<NumericArray>): this;
54
54
  }
55
- //# sourceMappingURL=vector2.d.ts.map
@@ -1,94 +1,110 @@
1
+ // Copyright (c) 2017 Uber Technologies, Inc.
2
+ // MIT License
1
3
  import { Vector } from "./base/vector.js";
2
4
  import { config, isArray } from "../lib/common.js";
3
5
  import { checkNumber } from "../lib/validators.js";
4
6
  import { transformMat4 as vec2_transformMat4, transformMat3 as vec2_transformMat3, transformMat2d as vec2_transformMat2d, transformMat2 as vec2_transformMat2 } from "../gl-matrix/vec2.js";
5
7
  import { vec2_transformMat4AsVector } from "../lib/gl-matrix-extras.js";
8
+ /**
9
+ * Two-element vector class.
10
+ * Subclass of Array<number>
11
+ */
6
12
  export class Vector2 extends Vector {
7
- constructor(x = 0, y = 0) {
8
- super(2);
9
-
10
- if (isArray(x) && arguments.length === 1) {
11
- this.copy(x);
12
- } else {
13
- if (config.debug) {
14
- checkNumber(x);
15
- checkNumber(y);
16
- }
17
-
18
- this[0] = x;
19
- this[1] = y;
13
+ // Creates a new, empty vec2
14
+ constructor(x = 0, y = 0) {
15
+ // PERF NOTE: initialize elements as double precision numbers
16
+ super(2); // -0, -0);
17
+ if (isArray(x) && arguments.length === 1) {
18
+ this.copy(x);
19
+ }
20
+ else {
21
+ if (config.debug) {
22
+ checkNumber(x);
23
+ checkNumber(y);
24
+ }
25
+ this[0] = x;
26
+ this[1] = y;
27
+ }
20
28
  }
21
- }
22
-
23
- set(x, y) {
24
- this[0] = x;
25
- this[1] = y;
26
- return this.check();
27
- }
28
-
29
- copy(array) {
30
- this[0] = array[0];
31
- this[1] = array[1];
32
- return this.check();
33
- }
34
-
35
- fromObject(object) {
36
- if (config.debug) {
37
- checkNumber(object.x);
38
- checkNumber(object.y);
29
+ set(x, y) {
30
+ this[0] = x;
31
+ this[1] = y;
32
+ return this.check();
33
+ }
34
+ copy(array) {
35
+ this[0] = array[0];
36
+ this[1] = array[1];
37
+ return this.check();
38
+ }
39
+ fromObject(object) {
40
+ if (config.debug) {
41
+ checkNumber(object.x);
42
+ checkNumber(object.y);
43
+ }
44
+ this[0] = object.x;
45
+ this[1] = object.y;
46
+ return this.check();
47
+ }
48
+ toObject(object) {
49
+ object.x = this[0];
50
+ object.y = this[1];
51
+ return object;
52
+ }
53
+ // Getters/setters
54
+ get ELEMENTS() {
55
+ return 2;
56
+ }
57
+ /**
58
+ * Returns angle from x axis
59
+ * @returns
60
+ */
61
+ horizontalAngle() {
62
+ return Math.atan2(this.y, this.x);
63
+ }
64
+ /**
65
+ * Returns angle from y axis
66
+ * @returns
67
+ */
68
+ verticalAngle() {
69
+ return Math.atan2(this.x, this.y);
70
+ }
71
+ // Transforms
72
+ /**
73
+ * Transforms as point
74
+ * @param matrix4
75
+ * @returns
76
+ */
77
+ transform(matrix4) {
78
+ return this.transformAsPoint(matrix4);
79
+ }
80
+ /**
81
+ * transforms as point (4th component is implicitly 1)
82
+ * @param matrix4
83
+ * @returns
84
+ */
85
+ transformAsPoint(matrix4) {
86
+ vec2_transformMat4(this, this, matrix4);
87
+ return this.check();
88
+ }
89
+ /**
90
+ * transforms as vector (4th component is implicitly 0, ignores translation. slightly faster)
91
+ * @param matrix4
92
+ * @returns
93
+ */
94
+ transformAsVector(matrix4) {
95
+ vec2_transformMat4AsVector(this, this, matrix4);
96
+ return this.check();
97
+ }
98
+ transformByMatrix3(matrix3) {
99
+ vec2_transformMat3(this, this, matrix3);
100
+ return this.check();
101
+ }
102
+ transformByMatrix2x3(matrix2x3) {
103
+ vec2_transformMat2d(this, this, matrix2x3);
104
+ return this.check();
105
+ }
106
+ transformByMatrix2(matrix2) {
107
+ vec2_transformMat2(this, this, matrix2);
108
+ return this.check();
39
109
  }
40
-
41
- this[0] = object.x;
42
- this[1] = object.y;
43
- return this.check();
44
- }
45
-
46
- toObject(object) {
47
- object.x = this[0];
48
- object.y = this[1];
49
- return object;
50
- }
51
-
52
- get ELEMENTS() {
53
- return 2;
54
- }
55
-
56
- horizontalAngle() {
57
- return Math.atan2(this.y, this.x);
58
- }
59
-
60
- verticalAngle() {
61
- return Math.atan2(this.x, this.y);
62
- }
63
-
64
- transform(matrix4) {
65
- return this.transformAsPoint(matrix4);
66
- }
67
-
68
- transformAsPoint(matrix4) {
69
- vec2_transformMat4(this, this, matrix4);
70
- return this.check();
71
- }
72
-
73
- transformAsVector(matrix4) {
74
- vec2_transformMat4AsVector(this, this, matrix4);
75
- return this.check();
76
- }
77
-
78
- transformByMatrix3(matrix3) {
79
- vec2_transformMat3(this, this, matrix3);
80
- return this.check();
81
- }
82
-
83
- transformByMatrix2x3(matrix2x3) {
84
- vec2_transformMat2d(this, this, matrix2x3);
85
- return this.check();
86
- }
87
-
88
- transformByMatrix2(matrix2) {
89
- vec2_transformMat2(this, this, matrix2);
90
- return this.check();
91
- }
92
-
93
110
  }
94
- //# sourceMappingURL=vector2.js.map
@@ -1,5 +1,5 @@
1
1
  import { NumericArray } from '@math.gl/types';
2
- import { Vector } from './base/vector';
2
+ import { Vector } from "./base/vector.js";
3
3
  /**
4
4
  * Three-element vector class.
5
5
  * Subclass of Array<number>
@@ -53,4 +53,3 @@ export declare class Vector3 extends Vector {
53
53
  transformByMatrix2(matrix2: Readonly<NumericArray>): this;
54
54
  transformByQuaternion(quaternion: Readonly<NumericArray>): this;
55
55
  }
56
- //# sourceMappingURL=vector3.d.ts.map