updated flow chart
This commit is contained in:
@@ -14,15 +14,13 @@ pub struct RuntimeVertexDef {
|
||||
|
||||
impl RuntimeVertexDef {
|
||||
pub fn from_primitive(primitive: u32) -> RuntimeVertexDef {
|
||||
// use gltf::mesh::Attribute;
|
||||
// use gltf::accessor::{DataType, Dimensions};
|
||||
//
|
||||
|
||||
let mut buffers = Vec::new();
|
||||
let mut vertex_buffer_ids = Vec::new();
|
||||
let mut attributes = Vec::new();
|
||||
|
||||
let mut num_vertices = u32::max_value();
|
||||
//
|
||||
|
||||
// for (attribute_id, attribute) in primitive.attributes().enumerate() {
|
||||
// let (name, accessor) = match attribute.clone() {
|
||||
// Attribute::Positions(accessor) => ("i_position".to_owned(), accessor),
|
||||
|
||||
Reference in New Issue
Block a user