Skip to content

Commit

Permalink
wired-gltf updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Jun 4, 2024
1 parent 10ad1f6 commit 4a6c8e5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions spatial/wit/wired-gltf/world.wit
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ interface node {
resource node {
id: func() -> u32;

name: func() -> string;
set-name: func(value: string);

children: func() -> list<node>;
add-child: func(value: borrow<node>);
remove-child: func(value: borrow<node>);
Expand Down Expand Up @@ -60,19 +63,12 @@ interface mesh {
resource primitive {
id: func() -> u32;

indices: func() -> list<u32>;
set-indices: func(value: list<u32>);

material: func() -> material;
set-material: func(value: borrow<material>);

normals: func() -> list<f32>;
set-indices: func(value: list<u32>);
set-normals: func(value: list<f32>);

positions: func() -> list<f32>;
set-positions: func(value: list<f32>);

uvs: func() -> list<f32>;
set-uvs: func(value: list<f32>);
}

Expand Down

0 comments on commit 4a6c8e5

Please sign in to comment.