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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user