Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Accept the curve instance field in the scene_create and scene_apply schemas (issue #615)

Nguyen Xuan An9fd0d0c46be8
diff --git a/changes/615-field-math.size.md b/changes/615-field-math.size.md
index d4007f1a..bc040876 100644
--- a/changes/615-field-math.size.md
+++ b/changes/615-field-math.size.md
@@ -1,3 +1,6 @@
- entry:mesh: rotation operators for fields, curve resample and fillet for instances, and the bounding box and convex hull modifiers are about 1.8 KB gzip of mesh code that agents cannot get any other way.
- scene:agent-scene+lazy: the new mesh operators live in the lazy part, which holds the whole mesh engine.
- goal:agent-scene: the core grows under 64 bytes for the operator names; the notes were shortened elsewhere to pay for the rest.
+- tool:scene_create: the instance spec gains `curve` (points, count, closed, fillet), the only way for an agent to place instances along a path; the instance spec is inlined in each recipe field that carries nodes, so one field costs about 400 bytes.
+- tool:scene_apply: same `curve` instance field as scene_create, inlined through the shared node record.
+- tool-total: the `curve` instance field in scene_create and scene_apply, as above.