1 2 3 4 5 6 7 8 9 10 11
// SPDX-FileCopyrightText: 2020 Inseok Lee // SPDX-License-Identifier: MIT #![allow(dead_code)] use crate::havok::transform::HavokTransform; pub trait HavokAnimation { fn duration(&self) -> f32; fn sample(&self, time: f32) -> Vec<HavokTransform>; }