@quenty/geometryutils 6.14.0 → 6.14.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.
- package/CHANGELOG.md +17 -190
- package/package.json +3 -3
- package/src/Shared/OrthogonalUtils.lua +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,374 +3,201 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [6.14.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.14.0...@quenty/geometryutils@6.14.1) (2026-05-30)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
9
9
|
|
|
10
|
+
# [6.14.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.13.0...@quenty/geometryutils@6.14.0) (2026-04-23)
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
**Note:** Version bump only for package @quenty/geometryutils
|
|
13
13
|
|
|
14
14
|
# [6.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.12.0...@quenty/geometryutils@6.13.0) (2026-02-20)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
18
|
# [6.12.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.11.0...@quenty/geometryutils@6.12.0) (2026-02-19)
|
|
23
19
|
|
|
24
20
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
25
21
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
22
|
# [6.11.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.10.0...@quenty/geometryutils@6.11.0) (2026-02-17)
|
|
31
23
|
|
|
32
24
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
33
25
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
26
|
# [6.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.9.5...@quenty/geometryutils@6.10.0) (2026-01-16)
|
|
39
27
|
|
|
40
28
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
41
29
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
30
|
## [6.9.5](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.9.4...@quenty/geometryutils@6.9.5) (2026-01-12)
|
|
47
31
|
|
|
48
|
-
|
|
49
32
|
### Bug Fixes
|
|
50
33
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
34
|
+
- Fix dependency installation process for pnpm ([9651b09](https://github.com/Quenty/NevermoreEngine/commit/9651b09af34f252ef3f9c7c539793cc878dd8cba))
|
|
56
35
|
|
|
57
36
|
## [6.9.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.9.3...@quenty/geometryutils@6.9.4) (2026-01-10)
|
|
58
37
|
|
|
59
38
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
60
39
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
40
|
## [6.9.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.9.2...@quenty/geometryutils@6.9.3) (2026-01-03)
|
|
66
41
|
|
|
67
42
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
68
43
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
44
|
## [6.9.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.9.1...@quenty/geometryutils@6.9.2) (2025-11-12)
|
|
74
45
|
|
|
75
46
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
76
47
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
48
|
## [6.9.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.9.0...@quenty/geometryutils@6.9.1) (2025-10-07)
|
|
82
49
|
|
|
83
50
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
84
51
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
52
|
# [6.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.8.4...@quenty/geometryutils@6.9.0) (2025-05-10)
|
|
90
53
|
|
|
91
54
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
92
55
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
56
|
## [6.8.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.8.3...@quenty/geometryutils@6.8.4) (2025-04-10)
|
|
98
57
|
|
|
99
58
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
100
59
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
60
|
## [6.8.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.8.1...@quenty/geometryutils@6.8.3) (2025-04-07)
|
|
106
61
|
|
|
107
|
-
|
|
108
62
|
### Bug Fixes
|
|
109
63
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
64
|
+
- Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
65
|
+
- Bump package versions for republishing ([ba47c62](https://github.com/Quenty/NevermoreEngine/commit/ba47c62e32170bf74377b0c658c60b84306dc294))
|
|
116
66
|
|
|
117
67
|
## [6.8.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.8.1...@quenty/geometryutils@6.8.2) (2025-04-07)
|
|
118
68
|
|
|
119
|
-
|
|
120
69
|
### Bug Fixes
|
|
121
70
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
71
|
+
- Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
127
72
|
|
|
128
73
|
## [6.8.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.8.0...@quenty/geometryutils@6.8.1) (2025-03-21)
|
|
129
74
|
|
|
130
75
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
131
76
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
77
|
# [6.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.7.1...@quenty/geometryutils@6.8.0) (2025-02-18)
|
|
137
78
|
|
|
138
79
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
139
80
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
81
|
## [6.7.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.7.0...@quenty/geometryutils@6.7.1) (2024-11-04)
|
|
145
82
|
|
|
146
83
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
147
84
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
85
|
# [6.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.6.0...@quenty/geometryutils@6.7.0) (2024-10-06)
|
|
153
86
|
|
|
154
87
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
155
88
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
89
|
# [6.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.5.0...@quenty/geometryutils@6.6.0) (2024-10-04)
|
|
161
90
|
|
|
162
91
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
163
92
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
93
|
# [6.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.4.0...@quenty/geometryutils@6.5.0) (2024-09-25)
|
|
169
94
|
|
|
170
95
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
171
96
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
97
|
# [6.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.3.0...@quenty/geometryutils@6.4.0) (2024-09-12)
|
|
177
98
|
|
|
178
99
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
179
100
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
101
|
# [6.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.2.0...@quenty/geometryutils@6.3.0) (2024-05-09)
|
|
185
102
|
|
|
186
|
-
|
|
187
103
|
### Bug Fixes
|
|
188
104
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
105
|
+
- Fix .package-lock.json replicating in packages ([75d0efe](https://github.com/Quenty/NevermoreEngine/commit/75d0efeef239f221d93352af71a5b3e930ec23c5))
|
|
194
106
|
|
|
195
107
|
# [6.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.1.0...@quenty/geometryutils@6.2.0) (2024-04-27)
|
|
196
108
|
|
|
197
109
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
198
110
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
111
|
# [6.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@6.0.0...@quenty/geometryutils@6.1.0) (2024-03-09)
|
|
204
112
|
|
|
205
113
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
206
114
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
115
|
# [6.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@5.0.0...@quenty/geometryutils@6.0.0) (2024-02-14)
|
|
212
116
|
|
|
213
117
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
214
118
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
119
|
# [5.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@4.0.0...@quenty/geometryutils@5.0.0) (2024-02-13)
|
|
220
120
|
|
|
221
121
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
222
122
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
123
|
# [4.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@3.2.0...@quenty/geometryutils@4.0.0) (2024-02-13)
|
|
228
124
|
|
|
229
125
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
230
126
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
127
|
# [3.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@3.1.0...@quenty/geometryutils@3.2.0) (2024-01-08)
|
|
236
128
|
|
|
237
129
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
238
130
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
131
|
# [3.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@3.0.0...@quenty/geometryutils@3.1.0) (2023-12-14)
|
|
244
132
|
|
|
245
133
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
246
134
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
135
|
# [3.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.7.0...@quenty/geometryutils@3.0.0) (2023-10-11)
|
|
252
136
|
|
|
253
|
-
|
|
254
137
|
### Bug Fixes
|
|
255
138
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
139
|
+
- CIrlceUtils handles edge case properly ([1103664](https://github.com/Quenty/NevermoreEngine/commit/1103664a23a1fad747d440e4e09476e626413d94))
|
|
261
140
|
|
|
262
141
|
# [2.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.6.0...@quenty/geometryutils@2.7.0) (2023-08-23)
|
|
263
142
|
|
|
264
143
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
265
144
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
145
|
# [2.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.5.1...@quenty/geometryutils@2.6.0) (2023-05-26)
|
|
271
146
|
|
|
272
|
-
|
|
273
147
|
### Features
|
|
274
148
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
149
|
+
- Initial refactor of guis to use ValueObject instead of ValueObject ([723aba0](https://github.com/Quenty/NevermoreEngine/commit/723aba0208cae7e06c9d8bf2d8f0092d042d70ea))
|
|
280
150
|
|
|
281
151
|
## [2.5.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.5.0...@quenty/geometryutils@2.5.1) (2023-04-07)
|
|
282
152
|
|
|
283
153
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
284
154
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
155
|
# [2.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.4.0...@quenty/geometryutils@2.5.0) (2023-03-05)
|
|
290
156
|
|
|
291
157
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
292
158
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
159
|
# [2.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.3.0...@quenty/geometryutils@2.4.0) (2023-02-21)
|
|
298
160
|
|
|
299
|
-
|
|
300
161
|
### Bug Fixes
|
|
301
162
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
163
|
+
- Return nil if viewportSize is less than zero ([06981a8](https://github.com/Quenty/NevermoreEngine/commit/06981a891c280f6a85014a65b438a70fc08a344a))
|
|
307
164
|
|
|
308
165
|
# [2.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.2.0...@quenty/geometryutils@2.3.0) (2022-12-06)
|
|
309
166
|
|
|
310
|
-
|
|
311
167
|
### Features
|
|
312
168
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
169
|
+
- Add CameraPyramidUtils.rayIntersection(camera, rayOrigin, unitRayDirection, debugMaid) ([e728752](https://github.com/Quenty/NevermoreEngine/commit/e7287526b8eb78e6b702a73b56d6304e02c355de))
|
|
318
170
|
|
|
319
171
|
# [2.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.1.1...@quenty/geometryutils@2.2.0) (2022-03-27)
|
|
320
172
|
|
|
321
173
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
322
174
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
175
|
## [2.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.1.0...@quenty/geometryutils@2.1.1) (2021-12-30)
|
|
328
176
|
|
|
329
177
|
**Note:** Version bump only for package @quenty/geometryutils
|
|
330
178
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
179
|
# [2.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@2.0.0...@quenty/geometryutils@2.1.0) (2021-10-02)
|
|
336
180
|
|
|
337
|
-
|
|
338
181
|
### Features
|
|
339
182
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
183
|
+
- Add ScaleModelUtils to the geometry ([8fa5f02](https://github.com/Quenty/NevermoreEngine/commit/8fa5f029b5cc0bdf0b696525b8444b2fa685a4fe))
|
|
345
184
|
|
|
346
185
|
# [2.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/geometryutils@1.2.0...@quenty/geometryutils@2.0.0) (2021-09-05)
|
|
347
186
|
|
|
348
|
-
|
|
349
187
|
### Bug Fixes
|
|
350
188
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
189
|
+
- Remove peer dependencies. This is because lerna doesn't really support peer dependencies being linked and getting a new version on build, which is unfortunate. ([5f5aeee](https://github.com/Quenty/NevermoreEngine/commit/5f5aeeea8de9975435309e53679f0ef7064f9dd0))
|
|
356
190
|
|
|
357
191
|
# 1.2.0 (2021-07-31)
|
|
358
192
|
|
|
359
|
-
|
|
360
193
|
### Bug Fixes
|
|
361
194
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
195
|
+
- Add CI and CD ([47513e9](https://github.com/Quenty/NevermoreEngine/commit/47513e9b568162707534af132396dd8756947dd3))
|
|
196
|
+
- Adjust CI badge to show automatic build and release state ([5a55d3f](https://github.com/Quenty/NevermoreEngine/commit/5a55d3f19bf8d66a760d67da9b56ed47fab74656))
|
|
197
|
+
- Fix selene linting ([45fc074](https://github.com/Quenty/NevermoreEngine/commit/45fc07489ee59127ac6582689f19a0e87c1e5b5a))
|
|
367
198
|
|
|
368
199
|
## 1.0.2 (2021-07-25)
|
|
369
200
|
|
|
370
|
-
|
|
371
|
-
|
|
372
201
|
## 1.0.1 (2021-07-25)
|
|
373
202
|
|
|
374
|
-
|
|
375
|
-
|
|
376
203
|
# 1.0.0 (2021-07-24)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/geometryutils",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.1",
|
|
4
4
|
"description": "Utility functions involving 3D and 2D geometry",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@quenty/draw": "7.14.
|
|
34
|
+
"@quenty/draw": "7.14.1",
|
|
35
35
|
"@quenty/loader": "10.11.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "598b2b62b36bdcbdbbd56f7db10c399831cc6eba"
|
|
38
38
|
}
|
|
@@ -9,7 +9,7 @@ local OrthogonalUtils = {}
|
|
|
9
9
|
--[=[
|
|
10
10
|
Decompose the CFrame
|
|
11
11
|
@param cframe CFrame
|
|
12
|
-
return { Vector3 }
|
|
12
|
+
@return { Vector3 }
|
|
13
13
|
]=]
|
|
14
14
|
function OrthogonalUtils.decomposeCFrameToVectors(cframe: CFrame): { Vector3 }
|
|
15
15
|
return {
|
|
@@ -27,7 +27,7 @@ end
|
|
|
27
27
|
|
|
28
28
|
@param options { Vector3 } -- normals
|
|
29
29
|
@param unitVector Vector3
|
|
30
|
-
return Vector3?
|
|
30
|
+
@return Vector3?
|
|
31
31
|
]=]
|
|
32
32
|
function OrthogonalUtils.getClosestVector(options: { Vector3 }, unitVector: Vector3): Vector3?
|
|
33
33
|
local best = nil
|
|
@@ -48,7 +48,7 @@ end
|
|
|
48
48
|
|
|
49
49
|
@param cframe CFrame
|
|
50
50
|
@param snapToCFrame CFrame
|
|
51
|
-
return CFrame
|
|
51
|
+
@return CFrame
|
|
52
52
|
]=]
|
|
53
53
|
function OrthogonalUtils.snapCFrameTo(cframe: CFrame, snapToCFrame: CFrame): CFrame
|
|
54
54
|
local options = OrthogonalUtils.decomposeCFrameToVectors(snapToCFrame)
|