| 11 | namespace MjColor |
| 12 | { |
| 13 | float Halton(int32 Seed, int32 Base) |
| 14 | { |
| 15 | float F = 1.0f; |
| 16 | float R = 0.0f; |
| 17 | int32 I = Seed; |
| 18 | while (I > 0) |
| 19 | { |
| 20 | F /= (float)Base; |
| 21 | R += F * (float)(I % Base); |
| 22 | I /= Base; |
| 23 | } |
| 24 | return R; |
| 25 | } |
| 26 | |
| 27 | FLinearColor HSVToRGB(float H, float S, float V) |
| 28 | { |
no outgoing calls