feat: add facing orientation to parts

Replace the face/back boolean with a three-state facing (face, back,
standing) seeded from setup placements. Parts now orient about the
anchor at the resting face/edge, so back-down parts sit on the table
instead of below it and standing parts rest on their bottom edge.
This commit is contained in:
2026-08-10 11:47:58 +08:00
parent aa23e93b3f
commit d663f4afea
13 changed files with 126 additions and 36 deletions
+1
View File
@@ -8,6 +8,7 @@ export {
fallbackShape,
traceToShape,
traceToUvBounds,
facingTransform,
MM_TO_WORLD,
} from './part.js';
export { resolveAssetUrl, assetUrl, traceImage } from './http.js';