export class MorphTargetMixerThreeCompat {
    weights = new Map();
    setWeight(name, weight) {
        this.weights.set(name, Math.max(0, Math.min(1, weight)));
    }
    getWeights() {
        return [...this.weights.entries()].map(([name, weight]) => ({ name, weight }));
    }
}
//# sourceMappingURL=MorphTargetMixer.js.map