@trioforge/spline 0.1.0 → 0.1.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 +13 -0
- package/README.md +1 -1
- package/package.json +45 -45
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @trioforge/spline
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#6](https://github.com/Trio-Forge-Studio/packages/pull/6) [`dac820b`](https://github.com/Trio-Forge-Studio/packages/commit/dac820b44abb72c663f694c6125de44e1a1a8fcd) Thanks [@Hezaerd](https://github.com/Hezaerd)! - The source moved to [Trio-Forge-Studio/packages](https://github.com/Trio-Forge-Studio/packages), so the package's repository and issue links point there. The package now ships its `CHANGELOG.md`. The code is the same as the previous version.
|
|
8
|
+
|
|
9
|
+
## 0.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- First release. `catmullRom`, `cubicBezier` and `uniformBSpline` build curves through `Vector2` or `Vector3` points. A curve gives its point, tangent and rotation-minimizing frame at a parameter, converts between parameter and distance along its length, and finds the closest point to a position. Curves can be open or closed. ([Trio-Forge-Studio/spline#2](https://github.com/Trio-Forge-Studio/spline/pull/2))
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
2
|
+
"name": "@trioforge/spline",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Catmull-Rom, cubic Bezier, and uniform B-spline curves for roblox-ts",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"roblox",
|
|
7
|
+
"roblox-ts",
|
|
8
|
+
"spline",
|
|
9
|
+
"catmull-rom",
|
|
10
|
+
"bezier",
|
|
11
|
+
"b-spline"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://website.trio-forge.workers.dev/spline/",
|
|
14
|
+
"bugs": "https://github.com/Trio-Forge-Studio/packages/issues",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Trio-Forge-Studio/packages.git",
|
|
18
|
+
"directory": "packages/spline"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"main": "out/init.luau",
|
|
22
|
+
"types": "out/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"out",
|
|
25
|
+
"!**/*.tsbuildinfo",
|
|
26
|
+
"README.md",
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"LICENSE"
|
|
29
|
+
],
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@rbxts/compiler-types": "3.0.0-types.0",
|
|
35
|
+
"@rbxts/types": "^1.0.958",
|
|
36
|
+
"@trioforge/tooling": "0.0.0",
|
|
37
|
+
"roblox-ts": "^3.0.0",
|
|
38
|
+
"typescript": "5.5.3"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "rbxtsc --type package",
|
|
42
|
+
"test": "rbxtsc --type package && lune run test",
|
|
43
|
+
"check": "stylua --check test .lune && rbxtsc --type package && lune run test && pnpm run examples README.md",
|
|
44
|
+
"examples": "check-examples --run"
|
|
45
|
+
}
|
|
46
|
+
}
|