Binary object storage, misc changes
This commit is contained in:
12
object.proto
Normal file
12
object.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
package pb;
|
||||
|
||||
message VertexAttribs {
|
||||
repeated float vertex = 1 [packed=true];
|
||||
repeated uint32 texCoords = 2 [packed=true];
|
||||
required fixed32 normal = 3;
|
||||
}
|
||||
|
||||
message Object {
|
||||
repeated VertexAttribs attribs = 1;
|
||||
repeated uint32 indices = 2 [packed=true];
|
||||
}
|
||||
Reference in New Issue
Block a user