crystal-engine 0.4.0

A simple 3D engine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Mesh.

use crate::model::loader::fbx::data::{GeometryMeshIndex, MaterialIndex};

/// Mesh.
#[derive(Debug, Clone)]
pub struct Mesh {
    /// Name.
    pub name: Option<String>,
    /// Geometry mesh index.
    pub geometry_mesh_index: GeometryMeshIndex,
    /// Materials.
    pub materials: Vec<MaterialIndex>,
}