add dedicated marker for player (golden crosshair)

This commit is contained in:
yuni 2024-11-25 21:59:46 +01:00
parent 4daa0e8a68
commit c27b43b51d
4 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1625,7 +1625,7 @@ fn spawn_entities(
NotShadowReceiver,
));
let model = if state.is_player {
"marker_race"
"marker_player"
} else if state.is_point_of_interest {
"point_of_interest"
} else if state.is_planet {

View file

@ -69,6 +69,7 @@ pub fn asset_name_to_path(name: &str) -> &'static str {
"whale" => "models/whale.gltf#Scene0",
"marker_satellites" => "models/marker_satellites.glb#Scene0",
"marker_planets" => "models/marker_planets.glb#Scene0",
"marker_player" => "models/marker_player.glb#Scene0",
"marker_race" => "models/marker_race.glb#Scene0",
"point_of_interest" => "models/point_of_interest.glb#Scene0",
"metis" => "models/metis.gltf#Scene0",