(curve)
| 264 | } |
| 265 | |
| 266 | function sampleCurveAtT0(curve) { |
| 267 | if (!curve || !curve.keyValues || curve.keyValues.length === 0) return 0; |
| 268 | return curve.keyValues[0]; // Value at first keyframe (t=0) |
| 269 | } |
| 270 | |
| 271 | // For each curveNode, sample at t=0 |
| 272 | const sampledTransforms = new Map(); |