Skip to main content

mesh_fingerprint

Function mesh_fingerprint 

Source
pub fn mesh_fingerprint(mesh: &Mesh) -> [u8; 48]
Expand description

The fingerprint that names a mesh in a paint document (section 10.1): the SHA-384 digest of the vertex count as a u64, the bits of every coordinate as u32s, the triangle count as a u64, and every triangle’s indices as u32s, all little-endian.