feat: update stardust-xr

This commit is contained in:
Nova
2022-12-17 02:29:32 -05:00
parent 89f4aae1ff
commit 769fa24c1d
6 changed files with 18 additions and 18 deletions

View File

@@ -30,11 +30,10 @@ impl SkController {
if *self.tip.enabled.lock() {
self.tip.spatial.set_local_transform_components(
None,
Transform {
position: Some(controller.pose.position),
rotation: Some(controller.pose.orientation),
scale: None,
},
Transform::from_position_rotation(
controller.pose.position,
controller.pose.orientation,
),
);
}
let mut fbb = flexbuffers::Builder::default();