Skip to content

Commit

Permalink
use vec3 for cuboid shape
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Jun 30, 2024
1 parent c59c050 commit 1ef896f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions spatial/wit/wired-physics/world.wit
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ interface types {
}

variant shape {
cuboid(cuboid),
cuboid(vec3),
sphere(sphere),
}

record cuboid {
x-len: f32,
y-len: f32,
z-len: f32,
}

record sphere {
radius: f32
}
Expand Down

0 comments on commit 1ef896f

Please sign in to comment.