| 481 | } |
| 482 | |
| 483 | Color MaterialDatabase::materialParticleColor(MaterialId materialId, MaterialHue hueShift) const { |
| 484 | auto color = getMaterialInfo(materialId)->particleColor; |
| 485 | color.setHue(pfmod(color.hue() + materialHueToDegrees(hueShift) / 360.0f, 1.0f)); |
| 486 | return color; |
| 487 | } |
| 488 | |
| 489 | bool MaterialDatabase::isTilledMod(ModId modId) const { |
| 490 | if (!isRealMod(modId)) |
no test coverage detected