/// Create a new [`MeshBuilder`] with a given set of positions.
///
/// All vertices must have positions.
///
/// # Panic
///
/// Will panic if the length is zero.
Create a new [`MeshBuilder`] with a given set of positions.
All vertices must have positions.
Create a new [ ` MeshBuilder ` ] with a given set of positions . All vertices must have positions .
pub fn new(vertex_positions: Vec<Vec3>) -> Self {
        Self {
            vertex_count: vertex_positions.len(),
            vertex_positions,
            ..Self::default()
        }
    }
pub fn new ( vertex_positions : Vec < Vec3 > ) -> Self { Self { vertex_count : vertex_positions . len ( ) , vertex_positions , .. Self :: default ( ) } }
Create a new [`MeshBuilder`] with a given set of positions.
Create a new [ ` MeshBuilder ` ] with a given set of positions .
vertex_positions
Vec<Vec3>
panic
Will panic if the length is zero.
Will panic if the length is zero .