@combos-fun/plugin-renderer-3d-graphics 0.0.7 → 0.0.9
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/agent-skill.md +3 -7
- package/package.json +15 -5
package/agent-skill.md
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/plugin-renderer-3d-graphics` — Agent notes
|
|
2
2
|
|
|
3
|
-
Procedural 3D primitive shapes for the 3D pipeline. Produces a `THREE.Mesh`
|
|
4
|
-
with a `MeshStandardMaterial` based on the chosen `shape`.
|
|
3
|
+
Procedural 3D primitive shapes for the 3D pipeline. Produces a `THREE.Mesh` with a `MeshStandardMaterial` based on the chosen `shape`.
|
|
5
4
|
|
|
6
5
|
## When to read
|
|
7
6
|
|
|
8
|
-
Read for any procedural primitive: box, sphere, cylinder, plane, cone,
|
|
9
|
-
torus, debug placeholders, simple terrain.
|
|
7
|
+
Read for any procedural primitive: box, sphere, cylinder, plane, cone, torus, debug placeholders, simple terrain.
|
|
10
8
|
|
|
11
9
|
## Public API
|
|
12
10
|
|
|
@@ -31,9 +29,7 @@ import { Graphics3D, Graphics3DSystem, type Graphics3DParams } from '@combos-fun
|
|
|
31
29
|
| `scaleX` / `Y` / `Z` | `number` | `1` |
|
|
32
30
|
| `opacity` | `number` | `1` |
|
|
33
31
|
|
|
34
|
-
Shape → Three.js geometry: `box → BoxGeometry`, `sphere → SphereGeometry`,
|
|
35
|
-
`cylinder → CylinderGeometry`, `plane → PlaneGeometry`,
|
|
36
|
-
`cone → ConeGeometry`, `torus → TorusGeometry`.
|
|
32
|
+
Shape → Three.js geometry: `box → BoxGeometry`, `sphere → SphereGeometry`, `cylinder → CylinderGeometry`, `plane → PlaneGeometry`, `cone → ConeGeometry`, `torus → TorusGeometry`.
|
|
37
33
|
|
|
38
34
|
## Required setup
|
|
39
35
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-renderer-3d-graphics",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.9",
|
|
4
|
+
"description": "Procedural 3D primitive shapes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-renderer-3d-graphics.esm.js",
|
|
7
7
|
"bundle": "CombosFun.plugin.renderer.3d.graphics",
|
|
@@ -27,10 +27,20 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"three": "^0.172.0",
|
|
30
|
-
"@combos-fun/engine": "0.0.
|
|
31
|
-
"@combos-fun/inspector-decorator": "0.0.
|
|
32
|
-
"@combos-fun/plugin-renderer-3d": "0.0.
|
|
30
|
+
"@combos-fun/engine": "0.0.9",
|
|
31
|
+
"@combos-fun/inspector-decorator": "0.0.9",
|
|
32
|
+
"@combos-fun/plugin-renderer-3d": "0.0.9"
|
|
33
33
|
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"combos-fun",
|
|
36
|
+
"3d",
|
|
37
|
+
"graphics",
|
|
38
|
+
"primitives",
|
|
39
|
+
"box",
|
|
40
|
+
"sphere",
|
|
41
|
+
"cylinder",
|
|
42
|
+
"plane"
|
|
43
|
+
],
|
|
34
44
|
"scripts": {
|
|
35
45
|
"build": "node ../../scripts/build-package.mjs"
|
|
36
46
|
}
|