///
/// Converts and returns all the indices as `f32` data type.
///
Converts and returns all the indices as `f32` data type.
Converts and returns all the indices as ` f32 ` data type .
pub fn into_f32(self) -> Vec<Vec3> {
        match self {
            Self::F32(values) => values,
            Self::F64(mut values) => values
                .drain(..)
                .map(|v| Vec3::new(v.x as f32, v.y as f32, v.z as f32))
                .collect::<Vec<_>>(),
        }
    }
pub fn into_f32 ( self ) -> Vec < Vec3 > { match self { Self :: F32 ( values ) => values , Self :: F64 ( mut values ) => values . drain ( .. ) . map ( | v | Vec3 :: new ( v . x as f32 , v . y as f32 , v . z as f32 ) ) . collect :: < Vec < _ > > ( ) , } }
Converts and returns all the indices as `f32` data type.
Converts and returns all the indices as ` f32 ` data type .
self