Searched refs:Planet (Results 1 – 5 of 5) sorted by relevance
73 enum class Planet : std::uint8_t { enum84 constexpr Planet kPluto{ftl::to_underlying(Planet::kNeptune) + 1}; // Honorable mention.86 static_assert(ftl::enum_begin_v<Planet> == Planet::kMercury);87 static_assert(ftl::enum_last_v<Planet> == Planet::kNeptune);88 static_assert(ftl::enum_size_v<Planet> == 8);90 static_assert(ftl::enum_name<Planet::kMercury>() == "kMercury");91 static_assert(ftl::enum_name<Planet::kSaturn>() == "kSaturn");93 static_assert(ftl::enum_name_full<Planet::kMercury>() == "Planet::kMercury");94 static_assert(ftl::enum_name_full<Planet::kSaturn>() == "Planet::kSaturn");134 EXPECT_EQ(ftl::enum_name(Planet::kEarth), "kEarth"); in TEST()[all …]
50 open class Planet( in <lambda>() class108 Planet(orbitCenter = Vec2.Zero, radius = radius, pos = Vec2.Zero, speed = 0f) {122 var latestDiscovery: Planet? = null125 val planets: MutableList<Planet> = mutableListOf()149 Planet( in initTest()206 Planet( in initRandom()267 fun closestPlanet(): Planet { in closestPlanet()371 val planet: Planet,
85 is Planet -> drawPlanet(it) in ZoomedDrawScope()107 fun ZoomedDrawScope.drawGravitationalField(planet: Planet) { in ZoomedDrawScope()126 fun ZoomedDrawScope.drawPlanet(planet: Planet) { in ZoomedDrawScope()
30 var target: Planet? = null in <lambda>()
112 fun describeActivity(rng: Random, target: Planet?): String { in describeActivity()