remove xyzaxis.blend/glb
This commit is contained in:
parent
1b13d9b0e0
commit
65ffee383e
Binary file not shown.
Binary file not shown.
18
src/cmd.rs
18
src/cmd.rs
|
@ -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!");
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue