pub fn with_root_joint(
        name: &BStr,
        offset: Vector3<f32>,
        channels: &[ChannelType],
    ) -> JointsBuilder {
        let mut num_channels = 0;
        let channels = collect_channels(channels, &mut num_channels);
        let root_joint = new_joint(None, name, offset, channels, 0);

        JointsBuilder {
            joints: vec![root_joint],
            num_channels,
        }
    }
/// Start to create a new `Bvh` with a root joint.
Start to create a new `Bvh` with a root joint.
Start to create a new ` Bvh ` with a root joint .
pub fn with_root_joint(
        name: &BStr,
        offset: Vector3<f32>,
        channels: &[ChannelType],
    ) -> JointsBuilder {
        let mut num_channels = 0;
        let channels = collect_channels(channels, &mut num_channels);
        let root_joint = new_joint(None, name, offset, channels, 0);
        JointsBuilder {
            joints: vec![root_joint],
            num_channels,
        }
    }
pub fn with_root_joint ( name : & BStr , offset : Vector3 < f32 > , channels : & [ ChannelType ] , ) -> JointsBuilder { let mut num_channels = 0 ; let channels = collect_channels ( channels , & mut num_channels ) ; let root_joint = new_joint ( None , name , offset , channels , 0 ) ; JointsBuilder { joints : vec ! [ root_joint ] , num_channels , } }
Start to create a new `Bvh` with a root joint.
Start to create a new ` Bvh ` with a root joint .
name
&BStr
offset
Vector3<f32>
channels
&[ChannelType]
name
&BStr
offset
Vector3<f32>
channels
&[ChannelType]