feat(tabletop): author rotation and tilt angles in degrees

Convert bgm rotation and tilt values to radians only at the three.js
boundary, so the format's angles are authored in degrees.
This commit is contained in:
2026-08-10 00:11:13 +08:00
parent 90baa35c7c
commit b312bf4f1f
6 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -14,11 +14,11 @@ export interface StackOffset {
x: number;
/** y offset from the anchor. */
y: number;
/** Rotation in radians. */
/** Rotation in degrees. */
rotation: number;
/** Vertical (surface-normal) offset from the anchor, in mm. */
z: number;
/** Rotation in radians about the card's local Y (long) axis. */
/** Rotation in degrees about the card's local Y (long) axis. */
tilt: number;
}