Skip to main content

ply

Function ply 

Source
pub fn ply<'a>(meshes: impl IntoIterator<Item = &'a Mesh>) -> Vec<u8> ⓘ
Expand description

Binary little-endian PLY of meshes merged into one: positions, normals when every mesh has them, and colours (vertex colours, else the mesh’s material colour, else the viewer’s default) when any mesh has either; then the triangles.