Crate meshx

source · []
Expand description

A mesh exchange library for providing convenient conversion utilities between popular mesh formats.

Overview

This library is designed to simplify interoperability between different 3D applications using mesh data structures. meshx also provides common mesh types and APIs to work with attributes.

Re-exports

pub use self::index::Index;
pub use crate::mesh::*;

Modules

Attribute API.

This module defines an index type that can be invalid, although it has the same size as usize. This allows collections of usize integers to be reinterpreted as collections of Index types. For indexing into mesh topologies use types defined in the mesh::topology module.

IO module for mesh files.

Traits

Plain old data trait. Types that implement this trait contain no references and can be copied with memcpy. The additional Any trait lets us inspect the type more easily.