@margoengine/kinematics-constraints 0.1.0 → 1.0.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/LICENSE +201 -201
- package/NOTICE +4 -4
- package/README.md +441 -441
- package/dist/shared/validate-vector.d.ts +2 -2
- package/package.json +79 -79
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Throws a TypeError unless `value` has three components, and a RangeError unless each is finite and within 1e100. */
|
|
2
|
-
export function validateVector(value: ArrayLike<number>, name?: string): void;
|
|
1
|
+
/** Throws a TypeError unless `value` has three components, and a RangeError unless each is finite and within 1e100. */
|
|
2
|
+
export function validateVector(value: ArrayLike<number>, name?: string): void;
|
package/package.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@margoengine/kinematics-constraints",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Standalone analytical capsule, sphere and convex hull constraints for IK target and arm clearance.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"margoengine",
|
|
7
|
-
"webgpu",
|
|
8
|
-
"3d",
|
|
9
|
-
"kinematics",
|
|
10
|
-
"constraints"
|
|
11
|
-
],
|
|
12
|
-
"homepage": "https://margoengine.com",
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
15
|
-
},
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
19
|
-
"directory": "packages/kinematics-constraints"
|
|
20
|
-
},
|
|
21
|
-
"license": "Apache-2.0",
|
|
22
|
-
"author": "Scott Campbell",
|
|
23
|
-
"type": "module",
|
|
24
|
-
"sideEffects": false,
|
|
25
|
-
"exports": {
|
|
26
|
-
".": {
|
|
27
|
-
"types": "./dist/index.d.ts",
|
|
28
|
-
"import": "./dist/index.js"
|
|
29
|
-
},
|
|
30
|
-
"./joint-limits": {
|
|
31
|
-
"types": "./dist/joint-limits.d.ts",
|
|
32
|
-
"import": "./dist/joint-limits.js"
|
|
33
|
-
},
|
|
34
|
-
"./chain": {
|
|
35
|
-
"types": "./dist/chain.d.ts",
|
|
36
|
-
"import": "./dist/chain.js"
|
|
37
|
-
},
|
|
38
|
-
"./swept": {
|
|
39
|
-
"types": "./dist/swept.d.ts",
|
|
40
|
-
"import": "./dist/swept.js"
|
|
41
|
-
},
|
|
42
|
-
"./sdf": {
|
|
43
|
-
"types": "./dist/sdf.d.ts",
|
|
44
|
-
"import": "./dist/sdf.js"
|
|
45
|
-
},
|
|
46
|
-
"./multi-goal": {
|
|
47
|
-
"types": "./dist/multi-goal.d.ts",
|
|
48
|
-
"import": "./dist/multi-goal.js"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"files": [
|
|
52
|
-
"dist",
|
|
53
|
-
"LICENSE",
|
|
54
|
-
"NOTICE"
|
|
55
|
-
],
|
|
56
|
-
"publishConfig": {
|
|
57
|
-
"access": "public"
|
|
58
|
-
},
|
|
59
|
-
"scripts": {
|
|
60
|
-
"test:gpu:multi-goal": "cd ../.. && node packages/kinematics-constraints/tests/multi-goal-browser.mjs",
|
|
61
|
-
"build": "node ../../scripts/build-optional.js kinematics-constraints",
|
|
62
|
-
"test": "npm run build && node --test tests/*.test.js",
|
|
63
|
-
"test:browser": "node ../../scripts/test-kinematics-constraints-browser.js",
|
|
64
|
-
"test:limits:browser": "cd ../.. && node packages/kinematics-constraints/tests/limits-browser.mjs",
|
|
65
|
-
"prepack": "npm run build"
|
|
66
|
-
},
|
|
67
|
-
"peerDependencies": {
|
|
68
|
-
"@margoengine/bvh": "^
|
|
69
|
-
"@margoengine/geometry": "^
|
|
70
|
-
},
|
|
71
|
-
"peerDependenciesMeta": {
|
|
72
|
-
"@margoengine/bvh": {
|
|
73
|
-
"optional": true
|
|
74
|
-
},
|
|
75
|
-
"@margoengine/geometry": {
|
|
76
|
-
"optional": true
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@margoengine/kinematics-constraints",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Standalone analytical capsule, sphere and convex hull constraints for IK target and arm clearance.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"margoengine",
|
|
7
|
+
"webgpu",
|
|
8
|
+
"3d",
|
|
9
|
+
"kinematics",
|
|
10
|
+
"constraints"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://margoengine.com",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
19
|
+
"directory": "packages/kinematics-constraints"
|
|
20
|
+
},
|
|
21
|
+
"license": "Apache-2.0",
|
|
22
|
+
"author": "Scott Campbell",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./joint-limits": {
|
|
31
|
+
"types": "./dist/joint-limits.d.ts",
|
|
32
|
+
"import": "./dist/joint-limits.js"
|
|
33
|
+
},
|
|
34
|
+
"./chain": {
|
|
35
|
+
"types": "./dist/chain.d.ts",
|
|
36
|
+
"import": "./dist/chain.js"
|
|
37
|
+
},
|
|
38
|
+
"./swept": {
|
|
39
|
+
"types": "./dist/swept.d.ts",
|
|
40
|
+
"import": "./dist/swept.js"
|
|
41
|
+
},
|
|
42
|
+
"./sdf": {
|
|
43
|
+
"types": "./dist/sdf.d.ts",
|
|
44
|
+
"import": "./dist/sdf.js"
|
|
45
|
+
},
|
|
46
|
+
"./multi-goal": {
|
|
47
|
+
"types": "./dist/multi-goal.d.ts",
|
|
48
|
+
"import": "./dist/multi-goal.js"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist",
|
|
53
|
+
"LICENSE",
|
|
54
|
+
"NOTICE"
|
|
55
|
+
],
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"test:gpu:multi-goal": "cd ../.. && node packages/kinematics-constraints/tests/multi-goal-browser.mjs",
|
|
61
|
+
"build": "node ../../scripts/build-optional.js kinematics-constraints",
|
|
62
|
+
"test": "npm run build && node --test tests/*.test.js",
|
|
63
|
+
"test:browser": "node ../../scripts/test-kinematics-constraints-browser.js",
|
|
64
|
+
"test:limits:browser": "cd ../.. && node packages/kinematics-constraints/tests/limits-browser.mjs",
|
|
65
|
+
"prepack": "npm run build"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@margoengine/bvh": "^1.0.0",
|
|
69
|
+
"@margoengine/geometry": "^1.0.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"@margoengine/bvh": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"@margoengine/geometry": {
|
|
76
|
+
"optional": true
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|