Files
openglplayground/object.proto

13 lines
258 B
Protocol Buffer

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];
}