remove xyzaxis.blend/glb

This commit is contained in:
yuni 2024-10-27 22:43:56 +01:00
parent 1b13d9b0e0
commit 65ffee383e
4 changed files with 0 additions and 19 deletions

Binary file not shown.

Binary file not shown.

View file

@ -848,24 +848,6 @@ fn spawn_scenes(
ew_spawn.send(SpawnEvent(state)); ew_spawn.send(SpawnEvent(state));
} }
"xyz" => {
state.model = Some("xyzaxis".to_string());
// command: name "XYZAxis"
state.name = Some("XYZAxis".to_string());
// command: scale 5
state.model_scale = 2.0;
// command: angularmomentum 0 0 0
state.angular_momentum = DVec3::ZERO;
// command: collider mesh
state.collider_is_one_mesh_of_scene = true;
state.collider_is_mesh = true;
ew_spawn.send(SpawnEvent(state));
}
_ => { _ => {
error!("Can't find template named `{template}' in cmd::spawn_scenes!"); error!("Can't find template named `{template}' in cmd::spawn_scenes!");
} }

View file

@ -65,7 +65,6 @@ pub fn asset_name_to_path(name: &str) -> &'static str {
"point_of_interest" => "models/point_of_interest.glb#Scene0", "point_of_interest" => "models/point_of_interest.glb#Scene0",
"metis" => "models/metis.gltf#Scene0", "metis" => "models/metis.gltf#Scene0",
"thebe" => "models/thebe.gltf#Scene0", "thebe" => "models/thebe.gltf#Scene0",
"xyzaxis" => "models/xyzaxis.glb#Scene0",
_ => "models/error.glb#Scene0", _ => "models/error.glb#Scene0",
} }
} }