It's requesting a random number in the range 0-359.
Without context, it's anyone's guess why 360 rather than some other number. Perhaps it's a random bearing (360 degrees in a circle) which, combined with a random distance, would give a random location relative to a fixed point?
What Proleric says. Since there are 360 degrees in a complete circle, my first guess too would be that it's a "facing" rather than anything else. It ensures that whatever is spawned won't spawn facing a particular direction, but a random direction.
But, again like Proleric says, we'd need context to confirm exactly what it's being used for.
Comments
Without context, it's anyone's guess why 360 rather than some other number. Perhaps it's a random bearing (360 degrees in a circle) which, combined with a random distance, would give a random location relative to a fixed point?
But, again like Proleric says, we'd need context to confirm exactly what it's being used for.