@dcl/protocol 1.0.0-2907820380.commit-4e0eac3 → 1.0.0-2920351961.commit-161c395
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "common/id.proto";
|
|
4
|
+
option (ecs_component_id) = 1018;
|
|
5
|
+
|
|
6
|
+
message PBMeshRenderer {
|
|
7
|
+
message BoxMesh {
|
|
8
|
+
repeated float uvs = 1;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
message CylinderMesh {
|
|
12
|
+
optional float radius_top = 1; // default=1.0
|
|
13
|
+
optional float radius_bottom = 2; // default=1.0
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message PlaneMesh {
|
|
17
|
+
repeated float uvs = 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message SphereMesh {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
oneof mesh {
|
|
24
|
+
BoxMesh box = 1;
|
|
25
|
+
SphereMesh sphere = 2;
|
|
26
|
+
CylinderMesh cylinder = 3;
|
|
27
|
+
PlaneMesh plane = 4;
|
|
28
|
+
}
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-2920351961.commit-161c395",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"renderer-protocol",
|
|
18
18
|
"ecs"
|
|
19
19
|
],
|
|
20
|
-
"commit": "
|
|
20
|
+
"commit": "161c395bb96619a34c6f6da3034b957c571312e9"
|
|
21
21
|
}
|