| 208 | } |
| 209 | |
| 210 | uint32_t getBodyImageIndex(const VehicleObjectBodySprite& sprite, const Pitch pitch, const uint8_t yaw, const uint8_t roll, const uint8_t cargoIndex) |
| 211 | { |
| 212 | const auto pitchImageIndex = getPitchBodyImageIndex(sprite, pitch, yaw); |
| 213 | return pitchImageIndex + roll + cargoIndex; |
| 214 | } |
| 215 | uint32_t getBrakingImageIndex(const VehicleObjectBodySprite& sprite, const Pitch pitch, const uint8_t yaw) |
| 216 | { |
| 217 | const auto pitchImageIndex = getPitchBodyImageIndex(sprite, pitch, yaw); |
no test coverage detected