mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-29 09:08:58 +00:00
stopping for now
This commit is contained in:
@@ -488,10 +488,12 @@ impl<'a> Iterator for Joints<'a> {
|
||||
return None;
|
||||
}
|
||||
|
||||
Some(Joint {
|
||||
let next = Some(Joint {
|
||||
index: *current,
|
||||
joints: self.joints,
|
||||
})
|
||||
});
|
||||
*current += 1;
|
||||
next
|
||||
}
|
||||
JointIterType::Sequence(ref mut joints) => {
|
||||
let Some(next) = joints.pop_front() else {
|
||||
|
||||
@@ -525,6 +525,10 @@ impl Bvh {
|
||||
pub fn joints_mut(&mut self) -> JointsMut<'_> {
|
||||
JointsMut::iter_root(&mut self.joints[..])
|
||||
}
|
||||
|
||||
pub fn joints_len(&self) -> usize {
|
||||
self.joints.len()
|
||||
}
|
||||
|
||||
/// Returns a `Frames` iterator over the frames of the bvh.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user