1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Planet configuration resource.
use Resource;
use Reflect;
/// Configuration resource defining the planet's properties.
///
/// This is a global, single-planet configuration (radius). Per-floating-origin
/// recenter behaviour lives on [`FloatingOrigin`](crate::origin::FloatingOrigin)
/// itself so split-screen / networked-player scenarios can carry independent
/// thresholds.
///
/// Multi-planet support (multiple roots with different radii) is not yet
/// implemented — see the README roadmap.
///
/// # Example
///
/// ```rust,ignore
/// app.insert_resource(PlanetSettings::earth());
/// ```