Struct libfive::FlatTriangleMesh [−][src]
Expand description
Flat triangle mesh.
The positions
list has layout [x0, y0, z0, x1, y1, z1, ...]
.
The triangles
list has layout [t0.v0, t0.v1, t0.v2, t1.v0, t1.v1, t1.v2, ...]
where t
n is triangle n and v
m is vertex index m.
Fields
positions: Vec<f32>
triangles: Vec<u32>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FlatTriangleMesh
impl Send for FlatTriangleMesh
impl Sync for FlatTriangleMesh
impl Unpin for FlatTriangleMesh
impl UnwindSafe for FlatTriangleMesh