linx-simulator2/node_modules/protobufjs/tests/protobufnet.proto

20 lines
487 B
Protocol Buffer
Raw Normal View History

2019-09-18 08:11:16 +00:00
message IMeshImp {
}
message Mesh {
optional IMeshImp _meshImp = 1;
repeated float3 _vertices = 2;
repeated uint32 _colors = 3;
repeated float3 _normals = 4;
repeated float2 _uvs = 5;
repeated int32 _triangles = 6;
}
message float2 {
optional float x = 1 [default = 0];
optional float y = 2 [default = 0];
}
message float3 {
optional float x = 1 [default = 0];
optional float y = 2 [default = 0];
optional float z = 3 [default = 0];
}