53constexpr std::span<const EGG::Vector3f> ObjectCollisionKart::GetVehicleVertices(Vehicle vehicle) {
54 static constexpr std::array<EGG::Vector3f, 2> VERT_STANDARD_KART_S = {{
55 {0.0f, 35.0f, -40.0f},
59 static constexpr std::array<EGG::Vector3f, 4> VERT_STANDARD_KART_M = {{
66 static constexpr std::array<EGG::Vector3f, 4> VERT_STANDARD_KART_L = {{
73 static constexpr std::array<EGG::Vector3f, 4> VERT_BOOSTER_SEAT = {{
80 static constexpr std::array<EGG::Vector3f, 5> VERT_CLASSIC_DRAGSTER = {{
88 static constexpr std::array<EGG::Vector3f, 5> VERT_OFFROADER = {{
96 static constexpr std::array<EGG::Vector3f, 3> VERT_MINI_BEAST = {{
102 static constexpr std::array<EGG::Vector3f, 4> VERT_WILD_WING = {{
105 {-15.0, 25.0, -80.0},
109 static constexpr std::array<EGG::Vector3f, 5> VERT_FLAME_FLYER = {{
112 {-30.0, 0.0, -105.0},
117 static constexpr std::array<EGG::Vector3f, 3> VERT_CHEEP_CHARGER = {{
123 static constexpr std::array<EGG::Vector3f, 4> VERT_SUPER_BLOOPER = {{
126 {-25.0, 25.0, -20.0},
130 static constexpr std::array<EGG::Vector3f, 5> VERT_PIRANHA_PROWLER = {{
132 {35.0, -25.0, -115.0},
133 {-35.0, -25.0, -115.0},
135 {-35.0, -25.0, 85.0},
138 static constexpr std::array<EGG::Vector3f, 5> VERT_TINY_TITAN = {{
140 {25.0, -10.0, -40.0},
141 {-25.0, -10.0, -40.0},
142 {-25.0, -10.0, 30.0},
146 static constexpr std::array<EGG::Vector3f, 5> VERT_DAYTRIPPER = {{
154 static constexpr std::array<EGG::Vector3f, 5> VERT_JETSETTER = {{
157 {-25.0, 30.0, -75.0},
159 {-20.0, 30.0, 115.0},
162 static constexpr std::array<EGG::Vector3f, 3> VERT_BLUE_FALCON = {{
164 {-20.0, 20.0, -30.0},
168 static constexpr std::array<EGG::Vector3f, 5> VERT_SPRINTER = {{
171 {-25.0, 20.0, -60.0},
176 static constexpr std::array<EGG::Vector3f, 7> VERT_HONEYCOUPE = {{
178 {60.0, 20.0, -110.0},
179 {-60.0, 20.0, -110.0},
180 {60.0, -40.0, -110.0},
181 {-60.0, -40.0, -110.0},
186 static constexpr std::array<EGG::Vector3f, 3> VERT_STANDARD_BIKE_S = {{
192 static constexpr std::array<EGG::Vector3f, 3> VERT_STANDARD_BIKE_M = {{
198 static constexpr std::array<EGG::Vector3f, 3> VERT_STANDARD_BIKE_L = {{
204 static constexpr std::array<EGG::Vector3f, 3> VERT_BULLET_BIKE = {{
210 static constexpr std::array<EGG::Vector3f, 3> VERT_MACH_BIKE = {{
216 static constexpr std::array<EGG::Vector3f, 3> VERT_FLAME_RUNNER = {{
222 static constexpr std::array<EGG::Vector3f, 3> VERT_BIT_BIKE = {{
228 static constexpr std::array<EGG::Vector3f, 3> VERT_SUGARSCOOT = {{
234 static constexpr std::array<EGG::Vector3f, 4> VERT_WARIO_BIKE = {{
241 static constexpr std::array<EGG::Vector3f, 3> VERT_QUACKER = {{
247 static constexpr std::array<EGG::Vector3f, 3> VERT_ZIP_ZIP = {{
253 static constexpr std::array<EGG::Vector3f, 3> VERT_SHOOTING_STAR = {{
259 static constexpr std::array<EGG::Vector3f, 3> VERT_MAGIKRUISER = {{
265 static constexpr std::array<EGG::Vector3f, 3> VERT_SNEAKSTER = {{
271 static constexpr std::array<EGG::Vector3f, 3> VERT_SPEAR = {{
277 static constexpr std::array<EGG::Vector3f, 3> VERT_JET_BUBBLE = {{
283 static constexpr std::array<EGG::Vector3f, 3> VERT_DOLPHIN_DASHER = {{
289 static constexpr std::array<EGG::Vector3f, 4> VERT_PHANTOM = {{
292 {-20.0, -5.0, -85.0},
296 static constexpr std::array<EGG::Vector3f, 7> VERT_DEFAULT = {{
300 {0.0, -40.0, -160.0},
301 {-60.0, -40.0, 50.0},
307 case Vehicle::Standard_Kart_S:
308 return VERT_STANDARD_KART_S;
309 case Vehicle::Standard_Kart_M:
310 return VERT_STANDARD_KART_M;
311 case Vehicle::Standard_Kart_L:
312 return VERT_STANDARD_KART_L;
313 case Vehicle::Baby_Booster:
314 return VERT_BOOSTER_SEAT;
315 case Vehicle::Classic_Dragster:
316 return VERT_CLASSIC_DRAGSTER;
317 case Vehicle::Offroader:
318 return VERT_OFFROADER;
319 case Vehicle::Mini_Beast:
320 return VERT_MINI_BEAST;
321 case Vehicle::Wild_Wing:
322 return VERT_WILD_WING;
323 case Vehicle::Flame_Flyer:
324 return VERT_FLAME_FLYER;
325 case Vehicle::Cheep_Charger:
326 return VERT_CHEEP_CHARGER;
327 case Vehicle::Super_Blooper:
328 return VERT_SUPER_BLOOPER;
329 case Vehicle::Piranha_Prowler:
330 return VERT_PIRANHA_PROWLER;
331 case Vehicle::Tiny_Titan:
332 return VERT_TINY_TITAN;
333 case Vehicle::Daytripper:
334 return VERT_DAYTRIPPER;
335 case Vehicle::Jetsetter:
336 return VERT_JETSETTER;
337 case Vehicle::Blue_Falcon:
338 return VERT_BLUE_FALCON;
339 case Vehicle::Sprinter:
340 return VERT_SPRINTER;
341 case Vehicle::Honeycoupe:
342 return VERT_HONEYCOUPE;
343 case Vehicle::Standard_Bike_S:
344 return VERT_STANDARD_BIKE_S;
345 case Vehicle::Standard_Bike_M:
346 return VERT_STANDARD_BIKE_M;
347 case Vehicle::Standard_Bike_L:
348 return VERT_STANDARD_BIKE_L;
349 case Vehicle::Bullet_Bike:
350 return VERT_BULLET_BIKE;
351 case Vehicle::Mach_Bike:
352 return VERT_MACH_BIKE;
353 case Vehicle::Flame_Runner:
354 return VERT_FLAME_RUNNER;
355 case Vehicle::Bit_Bike:
356 return VERT_BIT_BIKE;
357 case Vehicle::Sugarscoot:
358 return VERT_SUGARSCOOT;
359 case Vehicle::Wario_Bike:
360 return VERT_WARIO_BIKE;
361 case Vehicle::Quacker:
363 case Vehicle::Zip_Zip:
365 case Vehicle::Shooting_Star:
366 return VERT_SHOOTING_STAR;
367 case Vehicle::Magikruiser:
368 return VERT_MAGIKRUISER;
369 case Vehicle::Sneakster:
370 return VERT_SNEAKSTER;
373 case Vehicle::Jet_Bubble:
374 return VERT_JET_BUBBLE;
375 case Vehicle::Dolphin_Dasher:
376 return VERT_DOLPHIN_DASHER;
377 case Vehicle::Phantom: