@thi.ng/geom-sdf 1.0.8 → 1.0.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-13T16:03:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/as-sdf.d.ts CHANGED
@@ -2,10 +2,9 @@ import type { MultiFn1 } from "@thi.ng/defmulti";
2
2
  import type { IShape } from "@thi.ng/geom";
3
3
  import type { SDFn } from "./api.js";
4
4
  /**
5
- * Takes an
6
- * [`IShape`](https://docs.thi.ng/umbrella/geom/interfaces/IShape.html)
5
+ * Takes an [`IShape`](https://docs.thi.ng/umbrella/geom/interfaces/IShape.html)
7
6
  * instance (possibly a tree, e.g. via
8
- * [`group()`](https://docs.thi.ng/umbrella/geom/functions/group.html)) and
7
+ * [`group`](https://docs.thi.ng/umbrella/geom/functions/group.html)) and
9
8
  * converts it into a {@link SDFn}.
10
9
  *
11
10
  * @remarks
@@ -29,7 +28,7 @@ import type { SDFn } from "./api.js";
29
28
  * number of vertices. If not specified
30
29
  * [`DEFAULT_SAMPLES`](https://docs.thi.ng/umbrella/geom-resample/variables/DEFAULT_SAMPLES.html)
31
30
  * will be used (which can be globally set via
32
- * [`setDefaultSamples()`](https://docs.thi.ng/umbrella/geom-resample/functions/setDefaultSamples.html)).
31
+ * [`setDefaultSamples`](https://docs.thi.ng/umbrella/geom-resample/functions/setDefaultSamples.html)).
33
32
  */
34
33
  export declare const asSDF: MultiFn1<IShape, SDFn>;
35
34
  //# sourceMappingURL=as-sdf.d.ts.map
package/dist.d.ts CHANGED
@@ -62,7 +62,7 @@ export declare const distPolyline2: (p: ReadonlyVec, pts: ReadonlyVec[]) => numb
62
62
  * https://iquilezles.org/articles/distfunctions2d/
63
63
  *
64
64
  * @param p
65
- * @param apert - pre-computed vec2 of [sin, cos] of aperture angle
65
+ * @param apert - pre-computed vec2 of `[sin,cos]` of aperture angle
66
66
  * @param ra - inner radius
67
67
  * @param rb - outer radius offset (thickness)
68
68
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-sdf",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,21 +39,21 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/checks": "^3.6.22",
44
- "@thi.ng/defmulti": "^3.0.58",
45
- "@thi.ng/errors": "^2.5.25",
46
- "@thi.ng/geom": "^8.1.28",
47
- "@thi.ng/geom-isoline": "^2.1.159",
48
- "@thi.ng/geom-poly-utils": "^3.0.31",
49
- "@thi.ng/geom-resample": "^3.0.31",
50
- "@thi.ng/math": "^5.11.19",
51
- "@thi.ng/transducers": "^9.2.17",
52
- "@thi.ng/vectors": "^7.12.19"
42
+ "@thi.ng/api": "^8.11.20",
43
+ "@thi.ng/checks": "^3.6.23",
44
+ "@thi.ng/defmulti": "^3.0.60",
45
+ "@thi.ng/errors": "^2.5.26",
46
+ "@thi.ng/geom": "^8.1.30",
47
+ "@thi.ng/geom-isoline": "^2.1.160",
48
+ "@thi.ng/geom-poly-utils": "^3.0.32",
49
+ "@thi.ng/geom-resample": "^3.0.32",
50
+ "@thi.ng/math": "^5.11.20",
51
+ "@thi.ng/transducers": "^9.2.18",
52
+ "@thi.ng/vectors": "^7.12.20"
53
53
  },
54
54
  "devDependencies": {
55
- "esbuild": "^0.24.2",
56
- "typedoc": "^0.27.6",
55
+ "esbuild": "^0.25.0",
56
+ "typedoc": "^0.27.7",
57
57
  "typescript": "^5.7.3"
58
58
  },
59
59
  "keywords": [
@@ -129,5 +129,5 @@
129
129
  "status": "alpha",
130
130
  "year": 2022
131
131
  },
132
- "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
132
+ "gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
133
133
  }