add moonlet that occludes the sun

This commit is contained in:
yuni 2024-03-21 03:15:00 +01:00
parent 402883d8bf
commit beefe695f6
3 changed files with 3 additions and 2 deletions

BIN
assets/models/moonlet.glb Normal file

Binary file not shown.

View file

@ -3,8 +3,8 @@ actor 300000 0 500000 jupiter
rotationy -1.40
angularmomentum 0 0.0001 0
actor 2000 0 0 asteroid1
scale 200
actor 3000 0 0 moonlet
scale 500
actor -2300 10 0 pizzeria
scale 30

View file

@ -24,6 +24,7 @@ fn asset_name_to_path(name: &str) -> &'static str {
"jupiter" => "models/jupiter.glb#Scene0",
"asteroid1" => ASSET_ASTEROID1,
"asteroid2" => ASSET_ASTEROID2,
"moonlet" => "models/moonlet.glb#Scene0",
"pizzeria" => "models/pizzeria.glb#Scene0",
_ => "models/error.glb#Scene0",
}