x = 1;
a = (float)x;
This is a very simplified example of what their doing, but I'm used to seeing static_cast<float>. What's the difference here?
Then, right below it, after initializing x to 0 again, they do this:
t = float(x) / 35.0f;
putting the paratheses around the variable instead of float.