replaced errors with todo's for now. This runs

This commit is contained in:
Franklin Blanco 2023-09-14 17:23:50 -07:00
parent d40c2546e2
commit 3eeff6b11a

View File

@ -18,7 +18,6 @@ pub struct HoldableObject {
pub transform: Transform, pub transform: Transform,
/// Initial Rotation in degrees /// Initial Rotation in degrees
pub y_rot: f32, pub y_rot: f32,
pub asset_handle: Handle<Gltf>, pub asset_handle: Handle<Gltf>,
} }
@ -26,7 +25,7 @@ pub struct HoldableObject {
impl HoldableObject { impl HoldableObject {
pub fn spawn_in_world(&mut self, mut commands: Commands) -> Entity { pub fn spawn_in_world(&mut self, mut commands: Commands) -> Entity {
commands.spawn(SceneBundle { commands.spawn(SceneBundle {
scene: , scene: todo!(),
transform: todo!(), transform: todo!(),
global_transform: todo!(), global_transform: todo!(),
visibility: todo!(), visibility: todo!(),