@thi.ng/boids 1.0.73 → 1.0.75

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-04-01T21:42:04Z
3
+ - **Last updated**: 2025-04-16T11:11:14Z
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.
@@ -10,5 +10,5 @@ import type { Boid } from "../boid.js";
10
10
  *
11
11
  * @param boid
12
12
  */
13
- export declare const blendedBehaviorUpdate: (boid: Boid) => Vec;
13
+ export declare const blendedBehaviorUpdate: (boid: Boid) => Vec<number>;
14
14
  //# sourceMappingURL=update.d.ts.map
package/boid.d.ts CHANGED
@@ -43,9 +43,9 @@ export declare class Boid implements ITimeStep {
43
43
  * @param pos
44
44
  */
45
45
  neighbors(r: number, pos?: Vec): Boid[];
46
- steerTowards(target: ReadonlyVec, out?: Vec): Vec;
47
- computeSteer(steer: Vec, num: number): Vec;
48
- limitSteer(steer: Vec): Vec;
46
+ steerTowards(target: ReadonlyVec, out?: Vec): Vec<number>;
47
+ computeSteer(steer: Vec, num: number): Vec<number>;
48
+ limitSteer(steer: Vec): Vec<number>;
49
49
  }
50
50
  /**
51
51
  * Returns a new {@link Boid} instance configured to use optimized 2D vector
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/boids",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
4
4
  "description": "n-dimensional boids simulation with modular behavior system",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,19 +39,19 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.25",
43
- "@thi.ng/checks": "^3.7.5",
44
- "@thi.ng/distance": "^2.4.113",
45
- "@thi.ng/geom-closest-point": "^2.1.167",
46
- "@thi.ng/geom-resample": "^3.0.39",
47
- "@thi.ng/math": "^5.11.25",
48
- "@thi.ng/timestep": "^1.0.15",
49
- "@thi.ng/vectors": "^7.13.0"
42
+ "@thi.ng/api": "^8.11.26",
43
+ "@thi.ng/checks": "^3.7.6",
44
+ "@thi.ng/distance": "^2.4.115",
45
+ "@thi.ng/geom-closest-point": "^2.1.169",
46
+ "@thi.ng/geom-resample": "^3.0.41",
47
+ "@thi.ng/math": "^5.11.26",
48
+ "@thi.ng/timestep": "^1.0.17",
49
+ "@thi.ng/vectors": "^8.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "esbuild": "^0.25.2",
53
- "typedoc": "^0.28.1",
54
- "typescript": "^5.8.2"
53
+ "typedoc": "^0.28.2",
54
+ "typescript": "^5.8.3"
55
55
  },
56
56
  "keywords": [
57
57
  "2d",
@@ -147,5 +147,5 @@
147
147
  "status": "alpha",
148
148
  "year": 2023
149
149
  },
150
- "gitHead": "87aa2d0e64a357476c10fd57aabdfded13c79f7d\n"
150
+ "gitHead": "c464b6948f92cba90c2ea75b59203dad894fb450\n"
151
151
  }