| 131 | } |
| 132 | |
| 133 | static Vector4 GetFlameColor(Vector4 sourceColor) |
| 134 | { |
| 135 | if (sourceColor == Vector4::One) |
| 136 | return Vector4(1.0f, Random::GenerateFloat(0.3f, 0.4f), 0.1f, 1.0f) * UCHAR_MAX; |
| 137 | |
| 138 | return sourceColor / 2.0f * Random::GenerateFloat(0.85f, 1.0f) * UCHAR_MAX; |
| 139 | } |
| 140 | |
| 141 | void FlameEmitterControl(short itemNumber) |
| 142 | { |
no test coverage detected