@quenty/cubicspline 10.12.1 → 10.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/src/Shared/CubicSplineUtils.lua +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
# [10.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cubicspline@10.12.1...@quenty/cubicspline@10.13.0) (2026-07-14)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **cubicspline:** type numeric diagonals for strict LinearSystemsSolverUtils ([a062853](https://github.com/Quenty/NevermoreEngine/commit/a06285351a5126fbec184e0b7dc308211aa92029))
|
|
11
|
+
|
|
6
12
|
## [10.12.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cubicspline@10.12.0...@quenty/cubicspline@10.12.1) (2026-05-30)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @quenty/cubicspline
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/cubicspline",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.13.0",
|
|
4
4
|
"description": "Cubic Spline implementation for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@quenty/binarysearch": "2.4.0",
|
|
34
|
-
"@quenty/linearsystemssolver": "2.
|
|
34
|
+
"@quenty/linearsystemssolver": "2.4.0",
|
|
35
35
|
"@quenty/loader": "10.11.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "13f0162f4971a77378e55e9b7236aea94f0dd3a8"
|
|
41
41
|
}
|
|
@@ -138,9 +138,9 @@ function CubicSplineUtils.populateVelocities<T>(nodeList: { CubicSplineNode<T> }
|
|
|
138
138
|
local i1 = index1 or #nodeList
|
|
139
139
|
|
|
140
140
|
local output = {}
|
|
141
|
-
local mainDiag = {}
|
|
142
|
-
local lowerDiag = {}
|
|
143
|
-
local upperDiag = {}
|
|
141
|
+
local mainDiag: { number } = {}
|
|
142
|
+
local lowerDiag: { number } = {}
|
|
143
|
+
local upperDiag: { number } = {}
|
|
144
144
|
|
|
145
145
|
-- first pass
|
|
146
146
|
for i = i0, i1 do
|
|
@@ -180,7 +180,8 @@ function CubicSplineUtils.populateVelocities<T>(nodeList: { CubicSplineNode<T> }
|
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
183
|
-
local solution =
|
|
183
|
+
local solution =
|
|
184
|
+
LinearSystemsSolverUtils.solveTridiagonal(mainDiag, upperDiag, lowerDiag, (output :: any) :: { number })
|
|
184
185
|
|
|
185
186
|
for i = i0, i1 do
|
|
186
187
|
local v = solution[i - i0 + 1]
|