@trioforge/spline 0.1.0 → 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/CHANGELOG.md +19 -0
- package/README.md +2 -2
- package/package.json +48 -45
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @trioforge/spline
|
|
2
|
+
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c2023c6`](https://github.com/Trio-Forge-Studio/spline/commit/c2023c684ca9516301c1d0f8a4fcfbbdf7adfd54) Thanks [@Hezaerd](https://github.com/Hezaerd)! - The source moved to its own repository, [Trio-Forge-Studio/spline](https://github.com/Trio-Forge-Studio/spline), so the package's repository and issue links point there. Its homepage is now its docs page at <https://website.trio-forge.workers.dev/docs/spline/>. The code is the same as the previous version.
|
|
8
|
+
|
|
9
|
+
## 0.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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.
|
|
14
|
+
|
|
15
|
+
## 0.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Catmull-Rom, cubic Bezier, and uniform B-spline curves for roblox-ts. Use `Vector2` or `Vector3` points to sample positions, travel by distance, orient objects, and find the closest point on a path.
|
|
4
4
|
|
|
5
|
-
Read the documentation at <https://website.trio-forge.workers.dev/spline/>.
|
|
5
|
+
Read the documentation at <https://website.trio-forge.workers.dev/docs/spline/>.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -181,7 +181,7 @@ Install Node dependencies with `pnpm install`. Install Lune and StyLua with `rok
|
|
|
181
181
|
```sh
|
|
182
182
|
pnpm run check
|
|
183
183
|
pnpm run test
|
|
184
|
-
|
|
184
|
+
pnpm run examples README.md
|
|
185
185
|
npm pack --dry-run
|
|
186
186
|
```
|
|
187
187
|
|
package/package.json
CHANGED
|
@@ -1,46 +1,49 @@
|
|
|
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.2",
|
|
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/docs/spline/",
|
|
14
|
+
"bugs": "https://github.com/Trio-Forge-Studio/spline/issues",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Trio-Forge-Studio/spline.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"main": "out/init.luau",
|
|
21
|
+
"types": "out/index.d.ts",
|
|
22
|
+
"files": [
|
|
23
|
+
"out",
|
|
24
|
+
"!**/*.tsbuildinfo",
|
|
25
|
+
"README.md",
|
|
26
|
+
"CHANGELOG.md",
|
|
27
|
+
"LICENSE"
|
|
28
|
+
],
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@changesets/changelog-github": "1.0.1",
|
|
34
|
+
"@changesets/cli": "3.0.3",
|
|
35
|
+
"@rbxts/compiler-types": "3.0.0-types.0",
|
|
36
|
+
"@rbxts/types": "1.0.959",
|
|
37
|
+
"roblox-ts": "3.0.0",
|
|
38
|
+
"typescript": "5.5.3",
|
|
39
|
+
"vite-plus": "1.3.0"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "rbxtsc --type package",
|
|
43
|
+
"test": "rbxtsc --type package && lune run test",
|
|
44
|
+
"check": "vp check && stylua --check test .lune && rbxtsc --type package && lune run test && pnpm run examples README.md",
|
|
45
|
+
"examples": "node tooling/check-examples.mjs --run",
|
|
46
|
+
"fmt": "vp fmt",
|
|
47
|
+
"changeset": "changeset"
|
|
48
|
+
}
|
|
49
|
+
}
|