mesh_to_gpu_mesh

Function mesh_to_gpu_mesh 

Source
pub fn mesh_to_gpu_mesh(
    vertices: &[Point3<f32>],
    indices: &[u32],
    normals: Option<&[Vector3<f32>]>,
    colors: Option<&[[f32; 3]]>,
    material: Option<PbrMaterial>,
) -> GpuMesh
Expand description

Convert threecrate mesh to GPU mesh format