renamed a few things

This commit is contained in:
ForTehLose
2024-09-03 15:33:30 -04:00
parent b16b559c94
commit aa4e5d333b

View File

@@ -76,7 +76,7 @@ fn spawn_hands(
XRTrackedRightGrip, XRTrackedRightGrip,
); );
let right = cmds.spawn(bundle).id(); let right = cmds.spawn(bundle).id();
//head? //head
let head = cmds let head = cmds
.spawn(( .spawn((
@@ -89,7 +89,7 @@ fn spawn_hands(
XRTrackedView, XRTrackedView,
)) ))
.id(); .id();
//local_floor? emulated //local_floor emulated
let local_floor = cmds let local_floor = cmds
.spawn(( .spawn((
PbrBundle { PbrBundle {
@@ -102,7 +102,7 @@ fn spawn_hands(
)) ))
.id(); .id();
let rooter = cmds let stage = cmds
.spawn(( .spawn((
PbrBundle { PbrBundle {
mesh: meshes.add(Cuboid::new(0.5, 0.1, 0.5)), mesh: meshes.add(Cuboid::new(0.5, 0.1, 0.5)),
@@ -114,6 +114,6 @@ fn spawn_hands(
)) ))
.id(); .id();
cmds.entity(rooter) cmds.entity(stage)
.push_children(&[left, right, head, local_floor]); .push_children(&[left, right, head, local_floor]);
} }