Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

style(forge): replace em-dashes in image-to-3D cleanup comments

nirholasbe550b99a2d0
diff --git a/api/_lib/glb-cleanup.js b/api/_lib/glb-cleanup.js
index f6464dbd0..bbb14d1a9 100644
--- a/api/_lib/glb-cleanup.js
+++ b/api/_lib/glb-cleanup.js
@@ -8,7 +8,7 @@
//
// glb-compress.js already welds+prunes as a PREREQUISITE of the Draco/meshopt
// codecs, but only when a caller explicitly asks for a compressed output_format
-// — the default `glb` delivery ships the raw soup untouched. This module runs a
+// (the default `glb` delivery ships the raw soup untouched). This module runs a
// codec-independent cleanup on EVERY delivered mesh:
//
// dedup → collapse duplicate meshes/materials/textures/accessors
diff --git a/tests/api/forge-multiview-photo.test.js b/tests/api/forge-multiview-photo.test.js
index 64b62c2aa..a5c16c86f 100644
--- a/tests/api/forge-multiview-photo.test.js
+++ b/tests/api/forge-multiview-photo.test.js
@@ -165,7 +165,7 @@ describe('single-photo image→3D gains synthesized turnaround views on the fusi
it('prunes an unusable secondary view before fusion, keeping the primary', async () => {
const supplied = [PHOTO, 'https://cdn.example/photo-bad.png', 'https://cdn.example/photo-ok.png'];
- // Primary usable, second unusable, third usable — the bad one must be dropped.
+ // Primary usable, second unusable, third usable: the bad one must be dropped.
validateForgeImage
.mockResolvedValueOnce({ ok: true })
.mockResolvedValueOnce({ ok: false, issue: 'blurry', message: 'too blurry' })
diff --git a/tests/api/glb-cleanup.test.js b/tests/api/glb-cleanup.test.js
index 6518865b0..23761ea80 100644
--- a/tests/api/glb-cleanup.test.js
+++ b/tests/api/glb-cleanup.test.js
@@ -2,7 +2,7 @@
* Geometry cleanup pass (api/_lib/glb-cleanup.js).
*
* Runs the REAL @gltf-transform + meshoptimizer pipeline against an actual
- * shipped GLB (public/avatars/fox.glb) — no mocks — and pins the contract the
+ * shipped GLB (public/avatars/fox.glb), no mocks, and pins the contract the
* forge delivery path relies on: the output is a valid, smaller-or-equal,
* still-INDEXED mesh (never the de-indexed vertex explosion a naive normals
* recompute would cause), and a broken buffer throws rather than corrupting.
@@ -33,7 +33,7 @@ describe('cleanupGlb', () => {
expect(r.vertsAfter).toBeLessThanOrEqual(r.vertsBefore);
});
- it('honors simplify:false — topological cleanup only, no decimation', async () => {
+ it('honors simplify:false (topological cleanup only, no decimation)', async () => {
const r = await cleanupGlb(FOX_GLB, { simplify: false });
expect(r.simplified).toBe(false);
// weld/dedup/join can only hold or reduce the triangle count, never raise it.