Skip to content

Commit 1caacc9

Browse files
committed
chore(eval): use TimingMode type for phase timing
1 parent 7aa9654 commit 1caacc9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/posecode-eval/src/checks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function genericChecks(result: ProbeResult): CheckOutcome[] {
161161
out.push({
162162
id: `transition-easing:${current.name}`,
163163
pass: false,
164-
detail: `moving linear phase enters at ${speed.toFixed(2)}m/s (use eased transition)`,
164+
detail: `moving linear phase enters at ${speed.toFixed(2)}m/s (use a flow/settle/drive mode)`,
165165
});
166166
}
167167
}

packages/posecode-eval/src/probe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
import * as THREE from "three";
16-
import { parse, type Easing, type ParseError, type PinTarget, type ReachTarget, type Warning } from "posecode-parser";
16+
import { parse, type TimingMode, type ParseError, type PinTarget, type ReachTarget, type Warning } from "posecode-parser";
1717
import {
1818
applyGroundLock,
1919
alignFloorPalms,
@@ -31,7 +31,7 @@ export interface PhasePose {
3131
/** Phase name from the document. */
3232
name: string;
3333
durationSec: number;
34-
easing: Easing;
34+
easing: TimingMode;
3535
/** Effector groups ground-locked during this phase. */
3636
groundLock: readonly string[];
3737
pins: readonly PinTarget[];

0 commit comments

Comments
 (0)