Binary object storage, misc changes

This commit is contained in:
2015-02-13 15:47:56 +01:00
parent 701ccce857
commit 260808b1fc
7 changed files with 106 additions and 3 deletions

12
object.proto Normal file
View 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];
}