@forgeax/engine-math 0.1.2
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 +202 -0
- package/README.md +294 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/__tests__/_arbs.d.ts +36 -0
- package/dist/__tests__/_arbs.d.ts.map +1 -0
- package/dist/__tests__/_fixtures.d.ts +61 -0
- package/dist/__tests__/_fixtures.d.ts.map +1 -0
- package/dist/__tests__/bounds2.test.d.ts +2 -0
- package/dist/__tests__/bounds2.test.d.ts.map +1 -0
- package/dist/__tests__/box3.test.d.ts +2 -0
- package/dist/__tests__/box3.test.d.ts.map +1 -0
- package/dist/__tests__/easing.test.d.ts +2 -0
- package/dist/__tests__/easing.test.d.ts.map +1 -0
- package/dist/__tests__/euler.test-d.d.ts +2 -0
- package/dist/__tests__/euler.test-d.d.ts.map +1 -0
- package/dist/__tests__/mat3.test-d.d.ts +2 -0
- package/dist/__tests__/mat3.test-d.d.ts.map +1 -0
- package/dist/__tests__/mat4.property.test.d.ts +2 -0
- package/dist/__tests__/mat4.property.test.d.ts.map +1 -0
- package/dist/__tests__/mat4.test-d.d.ts +2 -0
- package/dist/__tests__/mat4.test-d.d.ts.map +1 -0
- package/dist/__tests__/mat4.test.d.ts +2 -0
- package/dist/__tests__/mat4.test.d.ts.map +1 -0
- package/dist/__tests__/noise.test.d.ts +2 -0
- package/dist/__tests__/noise.test.d.ts.map +1 -0
- package/dist/__tests__/quat.basis.test.d.ts +2 -0
- package/dist/__tests__/quat.basis.test.d.ts.map +1 -0
- package/dist/__tests__/quat.interpolation.test.d.ts +2 -0
- package/dist/__tests__/quat.interpolation.test.d.ts.map +1 -0
- package/dist/__tests__/quat.lookat.test.d.ts +2 -0
- package/dist/__tests__/quat.lookat.test.d.ts.map +1 -0
- package/dist/__tests__/quat.property.test.d.ts +2 -0
- package/dist/__tests__/quat.property.test.d.ts.map +1 -0
- package/dist/__tests__/quat.rotateaxis.test.d.ts +2 -0
- package/dist/__tests__/quat.rotateaxis.test.d.ts.map +1 -0
- package/dist/__tests__/quat.test-d.d.ts +2 -0
- package/dist/__tests__/quat.test-d.d.ts.map +1 -0
- package/dist/__tests__/ray.property.test.d.ts +2 -0
- package/dist/__tests__/ray.property.test.d.ts.map +1 -0
- package/dist/__tests__/ray.test.d.ts +2 -0
- package/dist/__tests__/ray.test.d.ts.map +1 -0
- package/dist/__tests__/types.test-d.d.ts +2 -0
- package/dist/__tests__/types.test-d.d.ts.map +1 -0
- package/dist/__tests__/vec-catmull-rom.test.d.ts +2 -0
- package/dist/__tests__/vec-catmull-rom.test.d.ts.map +1 -0
- package/dist/__tests__/vec-smooth-damp.test.d.ts +2 -0
- package/dist/__tests__/vec-smooth-damp.test.d.ts.map +1 -0
- package/dist/__tests__/vec2.test-d.d.ts +2 -0
- package/dist/__tests__/vec2.test-d.d.ts.map +1 -0
- package/dist/__tests__/vec3.property.test.d.ts +2 -0
- package/dist/__tests__/vec3.property.test.d.ts.map +1 -0
- package/dist/__tests__/vec3.test-d.d.ts +2 -0
- package/dist/__tests__/vec3.test-d.d.ts.map +1 -0
- package/dist/__tests__/vec4.test-d.d.ts +2 -0
- package/dist/__tests__/vec4.test-d.d.ts.map +1 -0
- package/dist/_internal/epsilon.d.ts +9 -0
- package/dist/_internal/epsilon.d.ts.map +1 -0
- package/dist/_internal/scalar.d.ts +40 -0
- package/dist/_internal/scalar.d.ts.map +1 -0
- package/dist/box2.d.ts +35 -0
- package/dist/box2.d.ts.map +1 -0
- package/dist/box3.d.ts +76 -0
- package/dist/box3.d.ts.map +1 -0
- package/dist/circle2.d.ts +29 -0
- package/dist/circle2.d.ts.map +1 -0
- package/dist/color.d.ts +64 -0
- package/dist/color.d.ts.map +1 -0
- package/dist/easing.d.ts +18 -0
- package/dist/easing.d.ts.map +1 -0
- package/dist/euler.d.ts +51 -0
- package/dist/euler.d.ts.map +1 -0
- package/dist/f32-to-f16-bytes.d.ts +10 -0
- package/dist/f32-to-f16-bytes.d.ts.map +1 -0
- package/dist/frustum.d.ts +49 -0
- package/dist/frustum.d.ts.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +3688 -0
- package/dist/index.mjs.map +1 -0
- package/dist/mat3.d.ts +70 -0
- package/dist/mat3.d.ts.map +1 -0
- package/dist/mat4.d.ts +329 -0
- package/dist/mat4.d.ts.map +1 -0
- package/dist/noise.d.ts +12 -0
- package/dist/noise.d.ts.map +1 -0
- package/dist/quat.d.ts +312 -0
- package/dist/quat.d.ts.map +1 -0
- package/dist/ray.d.ts +144 -0
- package/dist/ray.d.ts.map +1 -0
- package/dist/ray2.d.ts +38 -0
- package/dist/ray2.d.ts.map +1 -0
- package/dist/sphere.d.ts +41 -0
- package/dist/sphere.d.ts.map +1 -0
- package/dist/types.d.ts +57 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/vec2.d.ts +76 -0
- package/dist/vec2.d.ts.map +1 -0
- package/dist/vec3.d.ts +82 -0
- package/dist/vec3.d.ts.map +1 -0
- package/dist/vec4.d.ts +61 -0
- package/dist/vec4.d.ts.map +1 -0
- package/package.json +57 -0
- package/src/__tests__/_arbs.ts +149 -0
- package/src/__tests__/_fixtures.ts +118 -0
- package/src/__tests__/bounds2.test.ts +146 -0
- package/src/__tests__/box3.test.ts +277 -0
- package/src/__tests__/easing.test.ts +109 -0
- package/src/__tests__/euler.test-d.ts +63 -0
- package/src/__tests__/mat3.test-d.ts +47 -0
- package/src/__tests__/mat4.property.test.ts +256 -0
- package/src/__tests__/mat4.test-d.ts +130 -0
- package/src/__tests__/mat4.test.ts +162 -0
- package/src/__tests__/noise.test.ts +75 -0
- package/src/__tests__/quat.basis.test.ts +134 -0
- package/src/__tests__/quat.interpolation.test.ts +45 -0
- package/src/__tests__/quat.lookat.test.ts +103 -0
- package/src/__tests__/quat.property.test.ts +150 -0
- package/src/__tests__/quat.rotateaxis.test.ts +149 -0
- package/src/__tests__/quat.test-d.ts +138 -0
- package/src/__tests__/ray.property.test.ts +105 -0
- package/src/__tests__/ray.test.ts +539 -0
- package/src/__tests__/types.test-d.ts +64 -0
- package/src/__tests__/vec-catmull-rom.test.ts +125 -0
- package/src/__tests__/vec-smooth-damp.test.ts +167 -0
- package/src/__tests__/vec2.test-d.ts +59 -0
- package/src/__tests__/vec3.property.test.ts +72 -0
- package/src/__tests__/vec3.test-d.ts +65 -0
- package/src/__tests__/vec4.test-d.ts +61 -0
- package/src/_internal/epsilon.ts +29 -0
- package/src/_internal/scalar.ts +90 -0
- package/src/box2.ts +168 -0
- package/src/box3.ts +372 -0
- package/src/circle2.ts +134 -0
- package/src/color.ts +177 -0
- package/src/easing.ts +49 -0
- package/src/euler.ts +239 -0
- package/src/f32-to-f16-bytes.ts +71 -0
- package/src/frustum.ts +240 -0
- package/src/index.ts +65 -0
- package/src/mat3.ts +286 -0
- package/src/mat4.ts +1334 -0
- package/src/noise.ts +78 -0
- package/src/quat.ts +847 -0
- package/src/ray.ts +575 -0
- package/src/ray2.ts +198 -0
- package/src/sphere.ts +138 -0
- package/src/types.ts +78 -0
- package/src/vec2.ts +229 -0
- package/src/vec3.ts +294 -0
- package/src/vec4.ts +235 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# @forgeax/engine-math
|
|
2
|
+
|
|
3
|
+
Pure-function SoA-friendly Vec / Mat / Quat / Color / Euler math library for forgeax-engine.
|
|
4
|
+
**branded** `Float32Array` storage — Vec3 ≢ Vec4 ≢ Quat at compile time, zero runtime cost.
|
|
5
|
+
|
|
6
|
+
## 30-second self-introduction
|
|
7
|
+
|
|
8
|
+
- **ABI**: `Float32Array & { readonly __<dim>: void }` 七件套(`Vec2 / Vec3 / Vec4 / Quat / Mat3 / Mat4 / Color`)+ `Euler` plain-object;branded 维度互斥(编译期)+ TypedArray 即时上传 GPU(运行期)。
|
|
9
|
+
- **Surface**: 18 namespace × 202 函数(vec2:20 / vec3:21 / vec4:18 / mat3:10 / mat4:33 / quat:23 / euler:6 / color:6 / easing:4 / noise:1 / frustum:4 / ray:9 / ray2:11 / box2:13 / box3:7 / circle2:10 / sphere:5 / f32-to-f16-bytes:1);单 entry `import { Vec3, vec3, ... } from '@forgeax/engine-math'`。
|
|
10
|
+
- **Style**: gl-matrix / wgpu-matrix 风纯函数 namespace + out-param-first(`func(out, ...args)`);零分配;aliasing-safe(`add(v, v, v)` 合法)。
|
|
11
|
+
- **Errors**: 全库静默回退(不抛错、不返回 `null`、不返回 `Result`、不 `console.warn`);退化语义靠 JSDoc `@degrade` + 本 README §退化策略表 + `*.test-d.ts` 三层共担。
|
|
12
|
+
|
|
13
|
+
### 30s 上手示例(CPU pre-bake transform → 双投影 clip-space)
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import type { Mat4, Quat, Vec3 } from '@forgeax/engine-math';
|
|
17
|
+
import { mat4, quat, vec3 } from '@forgeax/engine-math';
|
|
18
|
+
|
|
19
|
+
// 1. 建一个三角形顶点 + 双投影矩阵 + 绕 Y 转 45° 的方位四元数
|
|
20
|
+
const v: Vec3 = vec3.create(1, 0, 0);
|
|
21
|
+
const projWebGL: Mat4 = mat4.perspectiveNO(mat4.create(), Math.PI / 4, 16 / 9, 0.1, 100); // WebGL [-1,1]
|
|
22
|
+
const projReverseZ: Mat4 = mat4.perspectiveReverseZ(mat4.create(), Math.PI / 4, 16 / 9, 0.1, 100); // far→0
|
|
23
|
+
const q: Quat = quat.fromAxisAngle(quat.create(), vec3.create(0, 1, 0), Math.PI / 4);
|
|
24
|
+
|
|
25
|
+
// 2. CPU 端 pre-bake:透视除自动处理 (x/w, y/w, z/w);w'=0 静默退化为 (0,0,0)
|
|
26
|
+
const clip: Vec3 = vec3.create();
|
|
27
|
+
mat4.transformPoint(clip, projWebGL, v); // 同函数体(transformPoint 是 transformVec3 的 alias)
|
|
28
|
+
mat4.transformPoint(clip, projReverseZ, v); // 双投影 smoke:apps/hello/triangle 兑现 dual signal
|
|
29
|
+
|
|
30
|
+
// 3. 静默回退:零向量 normalize → 零向量(不抛错;调用方如需诊断自建守卫)
|
|
31
|
+
vec3.normalize(v, vec3.create(0, 0, 0)); // v = (0, 0, 0)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
> 上述代码覆盖 v0.1 PBR 渲染管线 90% 的典型 transform / projection / shader-uniform 准备路径——LLM 一次扫读即可拿到 "概念→签名→典型流程" 完整闭包(charter 命题 1)。
|
|
35
|
+
|
|
36
|
+
## quick-ref:18 namespace × 202 函数
|
|
37
|
+
|
|
38
|
+
每 namespace 内函数顺序粗略按 "构造 → 比较 → 算术 → 几何 → 高级" 分组。完整签名以 `.d.ts` JSDoc 为 SSOT。
|
|
39
|
+
|
|
40
|
+
| Namespace | 函数 (n) |
|
|
41
|
+
|:--|:--|
|
|
42
|
+
| **`vec2`** (20) | `create / clone / copy / set / equals / add / sub / scale / negate / dot / lengthSq / length / distance / normalize / lerp / smoothDamp / catmullRom / min / max / perp` |
|
|
43
|
+
| **`vec3`** (21) | `create / clone / copy / set / equals / add / sub / scale / negate / dot / cross / lengthSq / length / distance / distanceSq / normalize / lerp / smoothDamp / catmullRom / min / max` |
|
|
44
|
+
| **`vec4`** (18) | `create / clone / copy / set / equals / add / sub / scale / negate / dot / lengthSq / length / distance / normalize / lerp / smoothDamp / min / max` |
|
|
45
|
+
| **`mat3`** (10) | `create / clone / identity / equals / multiply / transpose / invert / scale / fromMat4 / normalMatrix` |
|
|
46
|
+
| **`mat4`** (33) | `create / clone / identity / equals / multiply / transpose / invert / scale / translate / rotate / lookAt / compose / decompose / fromQuat / fromTranslation / fromScaling / fromRotation / perspective / perspectiveNO / perspectiveReverseZ / orthographic / orthographicNO / orthographicReverseZ / transformVec3 / transformPoint / transformDirection / getTranslation / getForward / getUp / getRight / unproject / projectPoint / computeViewProj` |
|
|
47
|
+
| **`quat`** (23) | `create / clone / identity / fromAxisAngle / fromEuler / fromRotationMatrix / fromLookAt / fromUnitVectors / multiply / rotateAxis / slerp / nlerp / invert / conjugate / dot / length / lengthSq / normalize / transformVec3 / eulerY / right / up / forward` |
|
|
48
|
+
| **`euler`** (6) | `create / clone / set / toQuat / fromQuat / fromRotationMatrix` |
|
|
49
|
+
| **`color`** (6) | `create / clone / srgbToLinear / linearToSrgb / fromHex / toHex` |
|
|
50
|
+
| **`easing`** (4) | `cubicInOut / smoothstep / smootherstep / elasticInOut` — scalar time-remaps (clamp t to [0,1]; Bevy `EaseFunction`; slow-in/slow-out with elastic overshoot). Growable home for further ease variants |
|
|
51
|
+
| **`noise`** (1) | `perlin1d` — 1D Perlin noise returning [-1,1]. Deterministic, smooth (nearby inputs → nearby outputs); canonical permutation table matching Bevy's `2d_screen_shake`. Growable home for 2D/3D/Simplex variants |
|
|
52
|
+
| **`frustum`** (4) | `create / fromViewProjection / intersectsBox / intersectsSphere` |
|
|
53
|
+
| **`ray`** (9) | `create / getOrigin / getDirection / setOrigin / setDirection / rayAabbIntersects / screenToRay / worldToScreen / rayTriangleIntersects` |
|
|
54
|
+
| **`ray2`** (11) | `create / getOrigin / getDirection / getMaxDistance / setOrigin / setDirection / setMaxDistance / rayAabbIntersects / rayCircleIntersects / aabbCastIntersects / circleCastIntersects` |
|
|
55
|
+
| **`box2`** (13) | `create / fromCenter / fromPoints / center / halfSize / closestPoint / containsPoint / containsBox / intersectsBox / intersectsCircle / merge / grow / shrink` |
|
|
56
|
+
| **`box3`** (7) | `create / expandByPoint / containsPoint / intersectsBox / fromPoints / fromPositions / transformBox3` |
|
|
57
|
+
| **`circle2`** (10) | `create / fromPoints / toBox / center / radius / closestPoint / containsPoint / intersectsCircle / intersectsBox / merge` |
|
|
58
|
+
| **`sphere`** (5) | `create / expandByPoint / containsPoint / intersectsBox / fromPoints` |
|
|
59
|
+
| **`f32-to-f16-bytes`** (1) | `f32ToF16Bytes` |
|
|
60
|
+
|
|
61
|
+
> [!NOTE]
|
|
62
|
+
> Surface 由 `packages/math/scripts/count-math-exports.mjs` AST 计数(`node packages/math/scripts/count-math-exports.mjs`)SSOT 派生;表格中函数清单与计数器同步(M5 verify 已锁;surface 增减需同步本表)。
|
|
63
|
+
|
|
64
|
+
## frustum (feat-20260528-frustum-culling)
|
|
65
|
+
|
|
66
|
+
View-frustum plane extraction and intersection tests. Planes are extracted from a combined view-projection matrix using the Gribb/Hartmann method. Each plane is stored as 4 f32 (nx, ny, nz, d) with `nx*x + ny*y + nz*z + d > 0` meaning inside the frustum. Import via `frustum` namespace from `@forgeax/engine-math`.
|
|
67
|
+
|
|
68
|
+
| Function | Signature | Purpose | Notes |
|
|
69
|
+
|:--|:--|:--|:--|
|
|
70
|
+
| `frustum.create()` | `() => Frustum` | Allocate zero-initialized 6-plane frustum (`Float32Array(24)`) | Local brand `{ readonly __frustum: void }`; zero fill |
|
|
71
|
+
| `frustum.fromViewProjection(out, vp)` | `(out: Frustum, vp: Mat4Like) => Frustum` | Extract 6 frustum planes from view-projection matrix | Left/right/bottom/top/near/far in order; each plane auto-normalized internally (D-6) |
|
|
72
|
+
| `frustum.intersectsBox(f, box)` | `(f: Frustum, box: Box3Like) => boolean` | Conservative AABB-frustum intersection test | Returns true if box straddles any plane; p-vertex per-plane nearest-point test |
|
|
73
|
+
| `frustum.intersectsSphere(f, center, radius)` | `(f: Frustum, center: Vec3Like, radius: number) => boolean` | Conservative sphere-frustum intersection test | Signed-distance per-plane; outside when distance < -radius |
|
|
74
|
+
|
|
75
|
+
```ts
|
|
76
|
+
import { frustum } from '@forgeax/engine-math';
|
|
77
|
+
import { mat4 } from '@forgeax/engine-math';
|
|
78
|
+
|
|
79
|
+
const view = mat4.lookAt(mat4.create(), [0, 0, 5], [0, 0, 0], [0, 1, 0]);
|
|
80
|
+
const proj = mat4.perspective(mat4.create(), Math.PI / 2, 1, 0.1, 100);
|
|
81
|
+
const vp = mat4.create();
|
|
82
|
+
mat4.multiply(vp, proj, view);
|
|
83
|
+
const f = frustum.fromViewProjection(frustum.create(), vp);
|
|
84
|
+
|
|
85
|
+
const sceneBox: Box3 = new Float32Array([-2, -2, -2, 2, 2, 2]) as Box3;
|
|
86
|
+
if (frustum.intersectsBox(f, sceneBox)) {
|
|
87
|
+
// Object inside or straddling the frustum
|
|
88
|
+
} else {
|
|
89
|
+
// Object entirely outside — safe to cull
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## ray (screen/ray/AABB/triangle intersection primitives)
|
|
94
|
+
|
|
95
|
+
Pure-function ray primitives for screen-ray unprojection, ray-AABB slab intersection, ray-triangle Moller-Trumbore intersection, and world-to-screen projection. Import via `ray` namespace from `@forgeax/engine-math`.
|
|
96
|
+
|
|
97
|
+
| Function | Signature | Purpose | Notes |
|
|
98
|
+
|:--|:--|:--|:--|
|
|
99
|
+
| `ray.create(out?, origin?, direction?)` | `(out?, origin?, direction?) => Ray` | Allocate a Ray (6 floats: rx,ry,rz,dx,dy,dz) | Direction auto-normalized; zero-length dir falls back to `(0,0,0)` |
|
|
100
|
+
| `ray.screenToRay(out, sx, sy, vpW, vpH, view, proj, kind)` | `(Ray, number, number, number, number, Mat4Like, Mat4Like, 'perspective' \| 'orthographic') => Ray` | Unproject a screen coordinate into a world-space ray | Two-point unproject (ndc near=0, far=1); y-flip: DOM y-down to NDC y-up; NaN/Inf input falls back to centre ray |
|
|
101
|
+
| `ray.worldToScreen(out, worldPos, viewProj, canvasW, canvasH)` | `(Vec2, Vec3Like, Mat4Like, number, number) => WorldToScreenResult` | Project a world-space point to screen-space pixel coordinates | Returns `{ onScreen, behind }` flags; `behind=true` means the point is behind the camera and `out` is meaningless; degenerate viewport returns `{ onScreen: false, behind: false }` |
|
|
102
|
+
| `ray.rayAabbIntersects(r, aabb)` | `(RayLike, Box3Like) => RayAabbResult` | Slab-method ray-AABB intersection | Returns `{ hit, tmin }`; six degenerate cases handled per research Finding 2; NaN-safe edge/corner via `Number.isNaN` guard |
|
|
103
|
+
| `ray.rayTriangleIntersects(r, a, b, c)` | `(RayLike, Vec3Like, Vec3Like, Vec3Like) => RayTriResult` | Moller-Trumbore ray-triangle intersection | Returns `{ hit, t, u, v }` (t=ray parameter, u/v=barycentric); double-sided (`abs(det) < epsilon`); degenerate/collinear triangles return `hit=false` to prevent NaN propagation; `t <= 0` rejected (behind ray origin); NaN guard on all inputs |
|
|
104
|
+
|
|
105
|
+
```ts
|
|
106
|
+
import { ray } from '@forgeax/engine-math';
|
|
107
|
+
import { mat4 } from '@forgeax/engine-math';
|
|
108
|
+
|
|
109
|
+
// Screen coordinate to world-space ray (for picking)
|
|
110
|
+
const r = ray.create();
|
|
111
|
+
ray.screenToRay(r, mouseX, mouseY, canvasW, canvasH, view, proj, 'perspective');
|
|
112
|
+
|
|
113
|
+
// Ray-AABB intersection (coarse entity culling)
|
|
114
|
+
const hit = ray.rayAabbIntersects(r, entityWorldAabb);
|
|
115
|
+
if (hit.hit) { /* entity may contain a vertex hit */ }
|
|
116
|
+
|
|
117
|
+
// Ray-triangle intersection (per-vertex precision)
|
|
118
|
+
const tri = ray.rayTriangleIntersects(r,
|
|
119
|
+
[ax, ay, az], [bx, by, bz], [cx, cy, cz]);
|
|
120
|
+
if (tri.hit) { /* intersection at origin + tri.t * dir */ }
|
|
121
|
+
|
|
122
|
+
// World-space point to screen pixel (for vertex distance sorting)
|
|
123
|
+
const res = ray.worldToScreen(pixelOut, worldPos, viewProj, canvasW, canvasH);
|
|
124
|
+
if (!res.behind) { /* pixelOut holds screen-space (x,y) */ }
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## 2D bounding volumes (`box2` / `circle2` / `ray2`)
|
|
128
|
+
|
|
129
|
+
The P12 `bounding_2d` surface maps Bevy's `Aabb2d` and `BoundingCircle` to the
|
|
130
|
+
same branded `Float32Array` + out-param idiom as the existing 3D `box3` and
|
|
131
|
+
`sphere` namespaces. `box2` stores `[minX, minY, maxX, maxY]`; `circle2` stores
|
|
132
|
+
`[centerX, centerY, radius]`; empty point clouds use the same inverted-box or
|
|
133
|
+
negative-radius sentinels as their 3D counterparts.
|
|
134
|
+
|
|
135
|
+
```ts
|
|
136
|
+
import { box2, circle2, ray2, vec2 } from '@forgeax/engine-math';
|
|
137
|
+
|
|
138
|
+
const aabb = box2.fromCenter(box2.create(), [0, 0], [20, 20]);
|
|
139
|
+
const circle = circle2.create(35, 0, 12);
|
|
140
|
+
const ray = ray2.create(undefined, [-80, 0], [1, 0], 200);
|
|
141
|
+
|
|
142
|
+
const aabbHit = ray2.rayAabbIntersects(ray, aabb); // { hit, t }
|
|
143
|
+
const circleHit = ray2.rayCircleIntersects(ray, circle); // { hit, t }
|
|
144
|
+
const moving = box2.create();
|
|
145
|
+
box2.fromCenter(moving, [0, 0], [8, 8]);
|
|
146
|
+
const sweepHit = ray2.aabbCastIntersects(ray, moving, aabb);
|
|
147
|
+
|
|
148
|
+
const center = vec2.create();
|
|
149
|
+
box2.center(center, aabb);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
`ray2.create` normalizes its direction and carries a finite `maxDistance` (the
|
|
153
|
+
default is `Infinity`). `ray2.aabbCastIntersects` and
|
|
154
|
+
`ray2.circleCastIntersects` use the Minkowski-sum reduction, so a moving volume
|
|
155
|
+
is tested without allocating a temporary volume. All boundary contacts are
|
|
156
|
+
inclusive; a ray that starts inside a volume returns `{ hit: true, t: 0 }`.
|
|
157
|
+
|
|
158
|
+
### 跨类型 transform 4 函数(M1 落地,K-1/K-2 撕毁 Three.js 风承诺后由 mat4 / quat 反向 surface 提供)
|
|
159
|
+
|
|
160
|
+
| 函数 | 签名 | 语义 | 退化 |
|
|
161
|
+
|:--|:--|:--|:--|
|
|
162
|
+
| `mat4.transformVec3` | `(out, m, v)` | (x,y,z,1) 乘 4×4 + 透视除 | `w' = 0` → `out = (0, 0, 0)` |
|
|
163
|
+
| `mat4.transformPoint` | `(out, m, v)` | **alias of `transformVec3`**(OQ-1 裁决,共用函数体) | 同上 |
|
|
164
|
+
| `mat4.transformDirection` | `(out, m, v)` | 取左上 3×3(不含平移列),末尾 `vec3.normalize` | `\|out\| = 0` → `out = (0, 0, 0)` |
|
|
165
|
+
| `quat.transformVec3` | `(out, q, v)` | Rodrigues 优化 `t=2*cross(q.xyz,v); out=v+q.w*t+cross(q.xyz,t)`(18 mul + 12 add,比绕 mat4 快 3-5×) | `q` 必须单位长,否则隐式缩放;`q=(0,0,0,0)` → `out = v`(公式自然) |
|
|
166
|
+
|
|
167
|
+
## 命名风格
|
|
168
|
+
|
|
169
|
+
| 维度 | 风格 | 说明 |
|
|
170
|
+
|:--|:--|:--|
|
|
171
|
+
| namespace | 全小写 (`vec3`, `mat4`, `quat`) | 借自 **gl-matrix / wgpu-matrix**——LLM 训练语料一致,"猜得对"概率最高(charter 命题 2) |
|
|
172
|
+
| 函数名 | 数学英文 camelCase (`fromAxisAngle`, `slerp`) | 1:1 对齐 **wgpu-matrix / Three.js / glam-rs**;与 gl-matrix `setAxisAngle` 偏离取 `from*` 主流形式 |
|
|
173
|
+
| out-param | 首位强制 (`func(out, a, b)`) | 与 **gl-matrix** 一致;与 wgpu-matrix `dst?` 末位可选偏离——换得"一致性 > 简短"对 LLM 模仿成本最低 |
|
|
174
|
+
| brand 字段 | `__<typename>: void` 双下划线 | `Float32Array & { readonly __vec3: void }`——TS handbook brand idiom;视觉提示"编译期 phantom,运行时禁赋值" |
|
|
175
|
+
| NDC 后缀 | 短名 = WebGPU `[0,1]`;`*NO` = WebGL `[-1,1]`;`*ReverseZ` = far→0 / near→1 | 借自 gl-matrix `*NO` 缩写 + wgpu-matrix `*ReverseZ` 风 |
|
|
176
|
+
|
|
177
|
+
## 退化策略:全库静默回退 + 调用方守卫范式
|
|
178
|
+
|
|
179
|
+
> [!IMPORTANT]
|
|
180
|
+
> 本库**不抛错、不返回 `Result`、不返回 `null` 哨兵、不 `console.warn`**。"错得明" 通过 JSDoc `@degrade` tag + 本节表 + `*.test-d.ts` 类型测试 + property test 共同实现(charter 命题 3)。
|
|
181
|
+
|
|
182
|
+
### 退化策略表(AC-07 ≥ 8 条;本表 17 条 buffer)
|
|
183
|
+
|
|
184
|
+
| # | 函数 | 退化输入 | 静默回退值 |
|
|
185
|
+
|:--:|:--|:--|:--|
|
|
186
|
+
| 1 | `vec*.normalize(out, v)` | `v` 零向量 (`lengthSq < EPS_NORMALIZE`) | `out = (0, ..., 0)` |
|
|
187
|
+
| 2 | `vec*.normalize(out, v)` | `v` 含 NaN | NaN 传播(同形向量) |
|
|
188
|
+
| 3 | `mat4.invert(out, m)` (D-P1) | `m` singular (`|det| < EPS_DET`) | `out = identity` |
|
|
189
|
+
| 4 | `mat4.lookAt(out, eye, target, up)` (D-P17) | `eye === target` | `out = identity` |
|
|
190
|
+
| 5 | `mat4.lookAt` `up` 与视线共线 | — | 自动选替代 up |
|
|
191
|
+
| 6 | `mat4.decompose` `m` 含 shear | — | 静默尽力分解(与 Three.js 同行为) |
|
|
192
|
+
| 7 | `mat4.perspective*` / `*NO` / `*ReverseZ` | `near >= far` 或 `fovy <= 0` 或 `aspect <= 0` | 数值结果未定义但不抛错 |
|
|
193
|
+
| 8 | `quat.fromAxisAngle(out, axis, rad)` | `axis` 零向量 | `out = identity` |
|
|
194
|
+
| 9 | `quat.fromEuler(out, x, y, z, order)` (D-P2) | `order` 不在 `EulerOrder` | 静默按 `'XYZ'` 计算 |
|
|
195
|
+
| 10 | `quat.slerp(out, a, b, t)` (D-P6) | `dot(a, b) ≈ -1` | 取 `b' = -b` 后正常 slerp |
|
|
196
|
+
| 11 | `quat.slerp` `dot(a, b) ≈ 1` | — | 退化为 `nlerp` |
|
|
197
|
+
| 12 | `quat.fromUnitVectors(out, v, w)` (D-P18) | `v ≈ -w` | 选 axis = (0,1,0) 或 (1,0,0) 做 180° 旋转 |
|
|
198
|
+
| 13 | `quat.fromUnitVectors` `v ≈ w` | — | `out = identity` |
|
|
199
|
+
| 14 | `color.srgbToLinear(NaN)` / `linearToSrgb(NaN)` | NaN 输入 | NaN 传播 |
|
|
200
|
+
| 15 | `color.fromHex(...)` (D-P7) | 非法 hex / `#RGB` 短形式 | `out = (0, 0, 0, 1)` 黑色 |
|
|
201
|
+
| 16 | `euler.fromQuat(out, q, order)` | gimbal lock 临界 | 极角附近选取等价分支 |
|
|
202
|
+
| 17 | `euler.fromRotationMatrix(out, m, order)` | gimbal lock 临界 | 同 #16 |
|
|
203
|
+
|
|
204
|
+
### 调用方守卫范式
|
|
205
|
+
|
|
206
|
+
库内静默;上层调用方需要诊断时**自建** EPSILON 守卫 + `console.warn`(本库不强制,但文档展示一次让 LLM 复用):
|
|
207
|
+
|
|
208
|
+
```ts
|
|
209
|
+
import type { Vec3 } from '@forgeax/engine-math';
|
|
210
|
+
import { vec3 } from '@forgeax/engine-math';
|
|
211
|
+
|
|
212
|
+
const EPS = 1e-12;
|
|
213
|
+
function safeNormalize(out: Vec3, v: Vec3): Vec3 {
|
|
214
|
+
if (vec3.lengthSq(v) < EPS) {
|
|
215
|
+
console.warn('vec3.normalize: zero-length input, returning 0-vec');
|
|
216
|
+
}
|
|
217
|
+
return vec3.normalize(out, v); // 库内静默回退;上层自建诊断
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
> [!NOTE]
|
|
222
|
+
> 这是"承诺与运行期诊断闭环"——库内静默 + 调用方守卫范式文档化 + JSDoc `@degrade` 含 `@example` 三者合起来满足 charter 命题 3 的"错得明"要求,**不依赖** throw / Result / 库内 `console.warn`。
|
|
223
|
+
|
|
224
|
+
## 三档 NDC 投影示例
|
|
225
|
+
|
|
226
|
+
WebGPU / WebGL2 / reversed-Z 各自的投影矩阵选择对应不同的 NDC 约定。本库在命名层显式暴露三档:
|
|
227
|
+
|
|
228
|
+
```ts
|
|
229
|
+
import { mat4 } from '@forgeax/engine-math';
|
|
230
|
+
|
|
231
|
+
// WebGPU 主路径:clip-z ∈ [0, 1]
|
|
232
|
+
const projWebGPU = mat4.perspective(mat4.create(), Math.PI / 4, 16 / 9, 0.1, 100);
|
|
233
|
+
|
|
234
|
+
// WebGL / OpenGL:clip-z ∈ [-1, 1](gl-matrix 命名惯例 *NO = Negative-One)
|
|
235
|
+
const projWebGL = mat4.perspectiveNO(mat4.create(), Math.PI / 4, 16 / 9, 0.1, 100);
|
|
236
|
+
|
|
237
|
+
// reversed-Z(深度精度优化:far → 0, near → 1;典型 PBR / 大世界场景)
|
|
238
|
+
const projReverseZ = mat4.perspectiveReverseZ(mat4.create(), Math.PI / 4, 16 / 9, 0.1, 100);
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
`orthographic / orthographicNO / orthographicReverseZ` 三档同形(`orthographicReverseZ` 为本库自创扩展,详见末尾对照表脚注)。
|
|
242
|
+
|
|
243
|
+
## 非目标(Non-goals)
|
|
244
|
+
|
|
245
|
+
| 不做 | 原因 |
|
|
246
|
+
|:--|:--|
|
|
247
|
+
| Three.js 风的 `vec*` 跨类型方法(vec 实例上挂 mat / quat 应用) | K-1/K-2 撕毁 Three.js 风承诺;语义保留——跨类型 transform 由 `mat4.transformVec3 / transformPoint / transformDirection` + `quat.transformVec3` 反向 surface 提供(D-12 撕毁登记,详见 plan-decisions §D-12) |
|
|
248
|
+
| `Result<T, E>` / `Option<T>` 包装 | 与 out-param-first + 全库静默回退冲突;charter 命题 3 文本优先错得明靠 JSDoc + `*.test-d.ts` |
|
|
249
|
+
| 库内 `console.warn` / 错误码 | 调用方诊断自建(`safeNormalize` 守卫范式);库 hot-path 零观测开销 |
|
|
250
|
+
| `Float64Array` 高精度版 | WebGPU/WebGL2 着色器 uniform 一律 `f32`;高精度计算调用方自行裁剪到 f32 边界 |
|
|
251
|
+
| `Vec*.iter()` / 迭代器协议 | TypedArray 已自带;额外封装违反 SoA-friendly 零分配承诺 |
|
|
252
|
+
| 矩阵 / 向量的 `toString` 漂亮打印 | 文档面无承诺;调试调用方自行 `Array.from(v)` + `console.log` |
|
|
253
|
+
|
|
254
|
+
## 路线图
|
|
255
|
+
|
|
256
|
+
| 版本 | 范围 |
|
|
257
|
+
|:--|:--|
|
|
258
|
+
| **v0.0 (本闭环)** | 18 namespace × 202 函数(含 mat4 / quat 反向 surface 跨类型 transform 4 函数、2D bounds/raycast/cast,以及 easing 标量缓动 + noise 1D Perlin);branded ABI;3 档 NDC 投影;M1-M6 全 19 AC pass |
|
|
259
|
+
| v0.1 (PBR 闭环) | `mat3.fromMat4Scale` 法线矩阵优化路径;`Color.linearToSRGB` GPU 上传专用变体;高级 PBR 工具 |
|
|
260
|
+
| v0.2 (动画闭环) | `quat.squad` Catmull-Rom 球面插值;`euler.lookAt` 自然映射;动画系统消费方向定 |
|
|
261
|
+
| v1.0 (稳定 ABI) | 不再 breaking ABI;coverage 阈值不退步;`@forgeax/engine-math` 正式 `npm publish` |
|
|
262
|
+
|
|
263
|
+
## 与 gl-matrix / wgpu-matrix / glam-rs 对照表
|
|
264
|
+
|
|
265
|
+
| 概念 | gl-matrix | wgpu-matrix | glam-rs (Rust) | **@forgeax/engine-math** |
|
|
266
|
+
|:--|:--|:--|:--|:--|
|
|
267
|
+
| 存储 | `Float32Array` | `Float32Array` (`Float32ArrayLike`) | `Vec3 / Mat4` 结构体(栈分配)| `Float32Array & { __vec3: void }` (branded) |
|
|
268
|
+
| out-param | `out` 首位 | `dst?` 末位(可省)| 返回值 | `out` 首位(与 gl-matrix 一致) |
|
|
269
|
+
| 类型互斥 | 无(`vec3 = vec4` 不报错)| 无 | 编译期靠 Rust 类型 | 编译期靠 brand(`Vec3 ≢ Vec4`) |
|
|
270
|
+
| `fromAxisAngle` | `setAxisAngle` | `fromAxisAngle` | `Quat::from_axis_angle` | `quat.fromAxisAngle` (借 wgpu-matrix) |
|
|
271
|
+
| `lookAt(eye, target, up)` | `lookAt(out, eye, center, up)` | `lookAt(eye, target, up, dst?)` | `Mat4::look_at_rh(eye, center, up)` | `mat4.lookAt(out, eye, target, up)` |
|
|
272
|
+
| WebGPU `[0,1]` | 短名 `perspective` | 短名 `perspective` | 无(Rust glam 走 wgpu/vulkan 风)| 短名 `perspective` |
|
|
273
|
+
| WebGL `[-1,1]` | `perspectiveNO` | `perspectiveNO` | — | `perspectiveNO` |
|
|
274
|
+
| reversed-Z | 无 | `perspectiveReverseZ` | `Mat4::perspective_infinite_reverse_lh` (近) | `perspectiveReverseZ` |
|
|
275
|
+
| **正交 reversed-Z** | 无 | 无 | 无 | `orthographicReverseZ` ⭐ **本库自创扩展** |
|
|
276
|
+
| invert(singular) | 返回 `null` | 不定 | `Some(...)` / `None` | 写 `out = identity`,返 `out`(D-P1)|
|
|
277
|
+
|
|
278
|
+
> ⭐ **`orthographicReverseZ` 为本库自创扩展**——主流三件套均无此函数;用于 reversed-Z 配套的 2D / 大世界正交投影场景(plan-strategy §D-P3)。LLM 调用时知晓此函数无主流对应物,必要时按本库签名调用即可(charter 命题 2 诚实告知)。
|
|
279
|
+
|
|
280
|
+
## 知识库引用
|
|
281
|
+
|
|
282
|
+
跨 vendor 阅读认知配套——开发者 / 贡献者 LLM 切换 vendor 时的认知映射:
|
|
283
|
+
|
|
284
|
+
- `.forgeax-harness/knowledge-base/wiki/gl-matrix-overview.md` — gl-matrix 设计四铁律
|
|
285
|
+
- `.forgeax-harness/knowledge-base/wiki/wgpu-matrix-overview.md` — wgpu-matrix WebGPU-first 偏离
|
|
286
|
+
- `.forgeax-harness/knowledge-base/wiki/glam-rs-overview.md` — Rust glam Hamilton 约定
|
|
287
|
+
- `.forgeax-harness/knowledge-base/wiki/threejs-math.md` — Three.js Euler / Quaternion API
|
|
288
|
+
- `.forgeax-harness/knowledge-base/wiki/typescript-branded-types.md` — brand 模式 SSOT
|
|
289
|
+
- `.forgeax-harness/knowledge-base/wiki/reversed-z-projection.md` — reversed-Z 深度精度推导
|
|
290
|
+
- `.forgeax-harness/knowledge-base/wiki/v8-elements-kinds.md` — V8 PACKED_DOUBLE_ELEMENTS / TypedArray 五铁律
|
|
291
|
+
|
|
292
|
+
## License
|
|
293
|
+
|
|
294
|
+
Same as workspace root.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/types.ts","../src/circle2.ts","../src/box2.ts","../src/box3.ts","../src/color.ts","../src/_internal/scalar.ts","../src/easing.ts","../src/_internal/epsilon.ts","../src/quat.ts","../src/euler.ts","../src/f32-to-f16-bytes.ts","../src/frustum.ts","../src/mat3.ts","../src/vec3.ts","../src/mat4.ts","../src/noise.ts","../src/ray.ts","../src/ray2.ts","../src/sphere.ts","../src/vec2.ts","../src/vec4.ts","../src/index.ts","../../../node_modules/.pnpm/pure-rand@8.4.0/node_modules/pure-rand/lib/esm/RandomGenerator-CKZRB3Fu.d.ts","../../../node_modules/.pnpm/pure-rand@8.4.0/node_modules/pure-rand/lib/esm/types/RandomGenerator.d.ts","../../../node_modules/.pnpm/pure-rand@8.4.0/node_modules/pure-rand/lib/esm/types/JumpableRandomGenerator.d.ts","../../../node_modules/.pnpm/fast-check@4.7.0/node_modules/fast-check/lib/fast-check.d.ts","../../../node_modules/.pnpm/@vitest+pretty-format@4.1.5/node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.5/node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.5/node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.5/node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.5/node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.5/node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.5/node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.5/node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/.pnpm/@vitest+runner@4.1.5/node_modules/@vitest/runner/dist/tasks.d-Bh0IjN67.d.ts","../../../node_modules/.pnpm/@vitest+runner@4.1.5/node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/.pnpm/vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7/node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/.pnpm/vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/.pnpm/vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7/node_modules/vite/types/customEvent.d.ts","../../../node_modules/.pnpm/vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7/node_modules/vite/types/hot.d.ts","../../../node_modules/.pnpm/vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7/node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@4.1.5/node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@4.1.5/node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@4.1.5/node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/.pnpm/@vitest+spy@4.1.5/node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/.pnpm/@vitest+spy@4.1.5/node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/.pnpm/@types+deep-eql@4.0.2/node_modules/@types/deep-eql/index.d.ts","../../../node_modules/.pnpm/assertion-error@2.0.1/node_modules/assertion-error/index.d.ts","../../../node_modules/.pnpm/@types+chai@5.2.3/node_modules/@types/chai/index.d.ts","../../../node_modules/.pnpm/@vitest+expect@4.1.5/node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+runner@4.1.5/node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/.pnpm/@vitest+mocker@4.1.5_vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7_/node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/.pnpm/@vitest+mocker@4.1.5_vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7_/node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/.pnpm/@vitest+mocker@4.1.5_vite@8.0.10_@types+node@20.19.40_esbuild@0.27.7_jiti@1.21.7_/node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/runners.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.5_@types+node@20.19.40_@vitest+browser-playwright@4.1.5_@vitest+coverage-v8@_93fb3f30d132ee2e785bbc9f718b2231/node_modules/vitest/dist/index.d.ts","../../../node_modules/.pnpm/@fast-check+vitest@0.4.1_vitest@4.1.5/node_modules/@fast-check/vitest/lib/vitest-fast-check.d.ts","../src/__tests__/_arbs.ts","../src/__tests__/_fixtures.ts","../src/__tests__/bounds2.test.ts","../src/__tests__/box3.test.ts","../src/__tests__/easing.test.ts","../src/__tests__/euler.test-d.ts","../src/__tests__/mat3.test-d.ts","../src/__tests__/mat4.property.test.ts","../src/__tests__/mat4.test-d.ts","../src/__tests__/mat4.test.ts","../src/__tests__/noise.test.ts","../src/__tests__/quat.basis.test.ts","../src/__tests__/quat.interpolation.test.ts","../src/__tests__/quat.lookat.test.ts","../src/__tests__/quat.property.test.ts","../src/__tests__/quat.rotateaxis.test.ts","../src/__tests__/quat.test-d.ts","../src/__tests__/ray.property.test.ts","../src/__tests__/ray.test.ts","../src/__tests__/types.test-d.ts","../src/__tests__/vec-catmull-rom.test.ts","../src/__tests__/vec-smooth-damp.test.ts","../src/__tests__/vec2.test-d.ts","../src/__tests__/vec3.property.test.ts","../src/__tests__/vec3.test-d.ts","../src/__tests__/vec4.test-d.ts"],"fileIdsList":[[85,134],[114,115],[87,93,111,112,113,116],[123],[123,124],[91,93,94],[91,93],[91],[86,91,102,103],[86,91,102],[110],[86,92],[86],[88],[86,87,88,89,90],[129,130],[129,130,131,132],[129,131],[129],[83,84],[82],[97],[97,98,99,100],[99],[95,118,119,121],[95,96,108,121],[86,93,95,96,104,121],[101],[86,95,96,104,117,120,121],[95,96,101,104,121],[95,118,119,120,121],[95,101,105,106,107,121],[86,91,93,95,96,101,104,105,106,107,108,109,111,117,118,119,120,121,122,125,126,127,128,133],[86,93,95,96,104,105,118,119,120,121,126],[60,74,135],[61,62,77,79,134],[63,134],[81,134],[60,81,134],[60,74,134,135,136],[60,74,134],[60,68,73,74,134],[60,68,72,73,74,134],[60,68,134,135,136],[60,68,134],[60,74,76,79,134,135,136],[60,74,76,79,134],[60,134],[60,73,79,134],[60,73,79,80,134],[73,134,135,136],[60,61],[60],[60,62],[65],[60,68],[60,63],[60,61,62,63,64,66,68,69,70,71,72,73,74,75,76,77,78,79,80],[60,67],[60,67,73],[60,65,67],[60,63,74],[60,61,62]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f57fc4404ff020bc45b9c620aff2b40f700b95fe31164024c453a5e3c163c54","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"815351d287994a67ed2fec4c6c4d01961ed16bd165dc7a536744601aa772dc9e","signature":"728cc7c21f319d38b1dafdbdf1258350b675055a3fb61ae1a7c34562c58b8557"},{"version":"cad47e050375220640b34baf9ea954be53e002f9aac00b5cf089f9ff0927806d","signature":"d474818de812636654d86a3f0f6f3b8f6ae725b5487f344a5d3a32decd68311f"},{"version":"e7627689ceeb278b0aeb0720a1a9f8703cab9bb562ddef2f4bc06d88aed235f8","signature":"87cb945db71dbb2cceac65375b84cc0c55bfe70a749b11e55b59a40df53503f6"},{"version":"9bf3042be6b76a516c42494ab6cf4b5b15231364f216b7a35529d2ef778aff18","signature":"dcadfb7e3411bb19e717855d891658f3d71c065248d25f09e027e4a6cdfa0e9f"},{"version":"c0be9b805cdf9e8b696c11d1fd37c26800525c52f7446140d42e2b5331b84241","signature":"1c3f1fae8db7ce0bb537e509ceb0243892e68a3b6e66ab1245c15932be41d037"},{"version":"696f3ebd199a2c42eadf96c22cd47e8dd60f98034fcd30b075246e3bb3cb1f9a","signature":"bb6454147635e8ff2d3e9a309d3cca87503406472cca99e8d1482f8b2f5e81a5"},{"version":"c02ef73c83c6c33255e312f54fefa2ef0e2ea516b9267af9b55f586b14b72786","signature":"b3b63929f7475d02520bde84913450bf633e86f6a5d51fcc13e95376ec3483a6"},{"version":"0f30e3d16a8bcf72954351e2ae123596d701624cd00f330e8b48f3355f69e6d6","signature":"9d671b7423868c408d03ccd6efbbf31d19a30153096d6f9b77f880ad85c5238e"},{"version":"85586da647b442ba44fac41f03a3491a8e92bcd37db4100c138ba00de3e314dd","signature":"27d3d1f171d4b7b86bdf1c352f22319c0915b17cfd919deb070bef13510a33a2"},{"version":"b4e0b504ada20782f4ac6c99eb90a67dda822a1d7b0a44f7a2c249c41bf0471e","signature":"11fbb66f203aa1855d34dbb3d835879a75924cae9f08eb16997318fed41f9078"},{"version":"782cb0387c6fe45256152d26643dfdd45a93c6032ae940631d5daf533266245f","signature":"56d65795b8f53c0f68d66369fc42fb8f79f669f868fc8eda2f634297c47b156f"},{"version":"5b7d6d8a66a3611ab3fe89413fcb288ec3681e6ce78b645927203d9524a98a9e","signature":"a35dc82e5a7955568d2883e308e7a3e138961dd3b40956b22fccd415dd307e4a"},{"version":"563ce7d27ba37599351af70b6993e3377250baeae4496b75db04308231eb3260","signature":"a10051e664b2713d31f07db5fdd71d0854732e57429cbfa00ebb329e89a27981"},{"version":"54c5447d9789b1c488736a2674b4a3ee8cb97a4fae74eac946925ec970131d2f","signature":"a49e93ed1861aa2493d363f26ee826ab71c7105b20c85cf8bd26bbb4e0b32cd6"},{"version":"7974f1c9e4032fb3e6b2676aabf34073d7b15eab1b2650b7ff16ef7ac8980bcc","signature":"3cb9e3f85ef9f989394133fe2e4ef4f39da5578fe583124fc0cbb00474b471e8"},{"version":"e0127bd4db600b90cd0193faec1a268e3e4c5a148d3ce346a3ed804f460bcc67","signature":"8bbc25b37d24570dffba7209cb9e427a63c7eeed18412af5e57c450a37d6c059"},{"version":"c487758164184e9771f45da4c9c2a15a53cd327e99c909dac3f449f5bc22e1fc","signature":"40a12a4c54a6564f2c1547a10bcafc9210fce809dc57d2a7815c918972f48895"},{"version":"034f5eeb6e84af2695419f5fc8a1b0f140e17b4a825ed2cb33321516303d344c","signature":"a8f81f646b1bd12b6b0758d1f97cc6d26646d5ac72d92362cb3b340271589e8f"},{"version":"edd06683b7adfa91fedbd395d480df775249d6cb7b0730e5d7077828ac5581fd","signature":"05d6d9fbf9c8fbb9fa36b4e0ad91292e57f6a9233dc407875d0fb06cdfd59bda"},{"version":"f9f6924e695ff2d97efd8ea530a06a491f7eca3a8f037b800e6f1bffbc7cf838","signature":"d08b909fffadfa1dece31aa587aca1c34782cafd9294c5c8b66cbab2aa897719"},{"version":"581bfb882086bc4228563f90af67aa132f33457c9214c59d9541baf4b6d599cc","signature":"9aca2738b7400d1d8c2d009ec6cbbaf3204e6413219edc962cea5bb6ef50db10"},{"version":"2dc44957305f150a88a04248d86b4603855ab4ef150caa11f38b7226a488c543","signature":"f23fc64dfc9c3e5b718eca7f1fdb0640d5c1f5c8993a599e66ce73ab33502036"},{"version":"80f829c59dfb2ac33d6b02467d78bc88790963fc168ac5e3003880f6a414414b","impliedFormat":99},{"version":"a88ac70da90568928e571a83ff90dafc2942cf390522c94324ad6e564ca0d892","impliedFormat":99},{"version":"7b1c855dcc8538439f185381220e39e7d5c4d09e4b3f8888f41ea068cd7a0839","impliedFormat":99},{"version":"e3adeb3a3100ee41c23b48a21ecf728b60eb2e3eb9f090e59ef2bae067c07e78","impliedFormat":99},{"version":"3a582c6e8906f5b094ccf0de6cc6f4f8a54b05a34f52517aba5c9c7f704f6b28","impliedFormat":99},{"version":"0528f6d21f7a02d4092895090d2dd86104bd5a3e79eced96d5a1a7dd90943d17","impliedFormat":99},{"version":"b5ce343886d23392be9c8280e9f24a87f1d7d3667f6672c2fe4aa61fa4ece7d4","impliedFormat":99},{"version":"72ce5b734c05da85c85a6f6dc05823b051d6aa41acaedeeb1d17c72f3b4efa72","impliedFormat":99},{"version":"b0857bb28fd5236ace84280f79a25093f919fd0eff13e47cc26ea03de60a7294","impliedFormat":99},{"version":"5e43e0824f10cd8c48e7a8c5c673638488925a12c31f0f9e0957965c290eb14c","impliedFormat":99},{"version":"ef13c73d6157a32933c612d476c1524dd674cf5b9a88571d7d6a0d147544d529","impliedFormat":99},{"version":"3b0a56d056d81a011e484b9c05d5e430711aaecd561a788bad1d0498aad782c7","impliedFormat":99},{"version":"9443967db823b66d1682be7fc66392be7c7924e10c3e54900f456341e94591a6","impliedFormat":99},{"version":"424f71d1fae96ac2e878af92345bb87bea1d29f757228fbc190133b305643f2c","impliedFormat":99},{"version":"61bb64660ee150f3ab618340e15cca0a81664801bede7c966ca0eca3a952fe63","impliedFormat":99},{"version":"3b89216a7e38a454985ad17bb2ff85792837dc812f2a89fa5f60ad0a2e216fa7","impliedFormat":99},{"version":"16fe60bb544cfedfd2b5bb2f7d0b3957be7978706d57d9f06edc9c0c8dbdba23","impliedFormat":99},{"version":"82179358c2d9d7347f1602dc9300039a2250e483137b38ebf31d4d2e5519c181","impliedFormat":99},{"version":"4e003c868b0d8f8ad200b96cbc653e18e513fa23e1c19c4fe3cc25d4394efc47","impliedFormat":99},{"version":"605450898939e8abce51e8085a41b60640278337a969c33cd6b169e7c4f9c3f2","impliedFormat":99},{"version":"42a12f2faa483c9b48195ed794d22698162274e755f6e07219c2351c4f08d732","impliedFormat":99},{"version":"ec0c42bb0f465e4993f2bc68a6ce9df9a2dcbc7b83e21748f82f1b69561938e3","impliedFormat":99},{"version":"f50ff37a9cbbe74475f426474d9827083c7c2c138a954d28f1690df338f69291","impliedFormat":99},{"version":"61fd6c17235d530c40f543dd7c40afab091d91c1ef890baeed30db6d82b04b28","impliedFormat":99},{"version":"bcbd3becd08b4515225880abea0dbfbbf0d1181ce3af8f18f72f61edbe4febfb","impliedFormat":99},{"version":"091767bc841f937654ed597d49e023ed59850355e746ae1a6f20ab31076ee1fb","impliedFormat":99},{"version":"19c6d6135af59693698d384050b45a8a049493500add442f58e4bd7c8a255ab6","impliedFormat":99},{"version":"6a0dba12d55314638a8c51108b20fe2f68f1364a619d098918bda91c22dec154","impliedFormat":99},{"version":"c76c02846ba7d40b9b3488f0e8d75d02cbdee2f0bc5fcd55dd3bd2e1457646ea","impliedFormat":99},{"version":"4ead13a482c539b77394b2a97e3b877b809eac596390371cea490286f53b996a","impliedFormat":99},{"version":"06db2f8ba1d1dfacf04529cb731081ab23f133f29c7608ebdfbcab356996827c","impliedFormat":99},{"version":"bdd14f07b4eca0b4b5203b85b8dbc4d084c749fa590bee5ea613e1641dcd3b29","impliedFormat":99},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"5c935b7fc4ddc1410ea1cd7cd4e35ed106a6e4920dd27a9480a40fd224359dc3","affectsGlobalScope":true,"impliedFormat":99},{"version":"ed9bb55ddcbebd5cb3eee991f57ff21438546ee40ee1c310281bd12a6c7cf65b","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":99},{"version":"6987dfb4b0c4e02112cc4e548e7a77b3d9ddfeffa8c8a2db13ceac361a4567d9","impliedFormat":99},{"version":"4ffba3c5848b4fe62ee59b754fd5f256ad9656a0db6d37b9a2a8cb40dfc7ac21","impliedFormat":99},{"version":"c76c02846ba7d40b9b3488f0e8d75d02cbdee2f0bc5fcd55dd3bd2e1457646ea","impliedFormat":99},{"version":"5e2ba3d18d78aebbde1f34bde356e41e9c76eeaeaeee56a37036596a9eff4211","impliedFormat":99},{"version":"8280ae8ccc0493b32d1742d585357ab9f0a508ea050af25a5a20d64010d0a5cf","impliedFormat":99},{"version":"7adfd9f9056ecd4ae6c65fde2a98654960c662714c73f048478959d04c09e144","impliedFormat":99},{"version":"32b35cf0dc3a1b1a7118b61c34ce2ad1a29695851679f9ec34e0776f2ece2a69","impliedFormat":99},{"version":"b413fbc6658fe2774f8bf9a15cf4c53e586fc38a2d5256b3b9647da242c14389","impliedFormat":99},{"version":"59e5e964b84fdb2378e9455e4e59405030e4ed2b4c6f891ce395f17796af3cbb","impliedFormat":99},{"version":"c30a41267fc04c6518b17e55dcb2b810f267af4314b0b6d7df1c33a76ce1b330","impliedFormat":1},{"version":"72422d0bac4076912385d0c10911b82e4694fc106e2d70added091f88f0824ba","impliedFormat":1},{"version":"da251b82c25bee1d93f9fd80c5a61d945da4f708ca21285541d7aff83ecb8200","impliedFormat":1},{"version":"64db14db2bf37ac089766fdb3c7e1160fabc10e9929bc2deeede7237e4419fc8","impliedFormat":1},{"version":"98b94085c9f78eba36d3d2314affe973e8994f99864b8708122750788825c771","impliedFormat":1},{"version":"90ba95a763101bb61b8a799731a2ed60b5016b8135c1a2d5186862d4b534d4a1","impliedFormat":99},{"version":"0a48825748df01f8646118f95a25ac461adb423bc26fbd8dd93ef5cef3e40a10","impliedFormat":99},{"version":"4a25682ee163eb8af4122416643e391a8b715692d123d9877f92e7bfd9641240","signature":"1c0dcc68fe0cfee7627bb6cbde4ba84861567358dd62f9d0485efb36c8cccfe2"},{"version":"288cba4341abe23e9c1482091ca7c496e1eac887d1204e67190a0a9472264e30","signature":"ad0264a4db455b6150685e2d87bdebac2e63f35a085811570b6c1ad36d585fbc"},{"version":"e2352d9254e54ec24b72bc0b434216f012a6734b07acafcd7d3a32897ef3b54a","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"77f41d4266314728a3e94a24703d67cf2ffd0de601708e1819ababb68501501d","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"d783260e1d667b399f18163ee0eadf4f8ef52950605f838e1d15c82966758842","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"16c8889e9d5f277ef25a4c0e73fffe1db2c8379b9e5232397bbf7a50dfd08d2d","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"44b13533d744559306f6df6f9817f47892f3c4e5a96333cfb7f77afe964622fe","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"4e84832542b33f252310603dda92f4b4ff9c41c0d5cd604f471c87602ba2f77d","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"a1adf396377c9a09ca23a9545870f8071ff02c0853898f12dc925c39af29e630","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"2fff96fddad3ebfa324f4d0f81d4e45ea31b0849cb2f92ddd7ff34e3a857a979","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"3613a5db7e616b0c7838cc04e7ce9ed552d6cb38e2c7fc33ccad5592076d7d01","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"d770d7c9eb8fd1e67a52623dea9caaa8e612d65b700676d3d1c6dbaf359ae90c","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"55b606e8ae32633653b62aa771bb70e6faa38e8dd4d430eabc22a17d3b8a8676","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"1b9f692f10da97af91d0ce5fb453c2ec029e1e1a3934d71351af3c2e011f50c8","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"c02f423ab0b77cf5cac51fbcd79f95f9f768b0fb64258bd0248a1d5fbb996f17","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"a39e0b243a0d280b239ed6549f64bf24794b9e243baa7a24ae43b00c9d655259","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"3e5a25e6ef5297c6f99352b53f3c99836fa2fd9b07a991a846d1ee11a89c2454","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"ba1115302d6527e01ec35a66e68cd5bd77aa5e9da2b76c7909ce55804d250879","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"98bc9ca2ff20cf9d5680432f4d41ac6a4a161b57b1f313ad60747d62fec5e5d0","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"a65ea0a8d0160b02fbff8a44984268071d6b8b339c7df1ec2ceecc7cbe04b602","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"57b4fac950af09441b8a593a58349181bf5212b7d68840c7cb24096ea36b24ed","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"195e70bbf007668633e0a9af28475d345975477400eaf73d71d4f722e7f84670","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"74e7fd258d101b4a1aa8c5113ffba54ed1980c5b20eab8733fd2be88aa988ef6","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"6a4d28c0bd4756d6451486b020087173a904d44c8956856685bdf6f66ce6612f","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"0e137ce87af896dce94d51f286883799bd1064c8ee38b6095e13384a331ed0fd","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"a51b33cb492ae5282cd18ab461a58704f41bb6a2687d1d0d991280216473db22","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"root":[[60,81],[136,161]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"exactOptionalPropertyTypes":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","useDefineForClassFields":true,"verbatimModuleSyntax":true},"referencedMap":[[135,1],[116,2],[117,3],[124,4],[125,5],[95,6],[94,7],[118,6],[102,8],[104,9],[103,10],[111,11],[93,12],[87,13],[89,14],[91,15],[92,13],[131,16],[133,17],[132,18],[130,19],[85,20],[84,21],[83,21],[98,22],[101,23],[99,22],[100,24],[120,25],[109,26],[105,27],[106,8],[127,28],[121,29],[107,30],[126,31],[108,32],[134,33],[128,34],[136,35],[138,36],[139,37],[140,38],[141,39],[142,39],[143,40],[144,39],[145,41],[146,38],[147,42],[148,38],[149,43],[150,44],[151,45],[152,39],[153,46],[154,47],[155,48],[156,49],[157,50],[158,39],[159,51],[160,39],[161,39],[62,52],[63,53],[61,54],[64,53],[66,55],[69,56],[71,57],[81,58],[72,59],[74,60],[68,61],[76,62],[77,63],[78,57],[79,61],[73,61],[80,61]],"latestChangedDtsFile":"./__tests__/vec4.test-d.d.ts","version":"6.0.3"}
|