You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For every type that can be randomized (Color, Point, Speed, etc.) we should add a section Generating Random X that documents how to use random() and random_range() to generate values of that type.
Behaviour of random() and random_range() for each type
Examples of using each
Examples of the different bounds types supported by each (most of them implement RandomRange<B> with B: Into<X>)
Do this for the scalar types too (Distance, etc.)
The text was updated successfully, but these errors were encountered:
For every type that can be randomized (
Color
,Point
,Speed
, etc.) we should add a sectionGenerating Random X
that documents how to userandom()
andrandom_range()
to generate values of that type.random()
andrandom_range()
for each typeRandomRange<B>
withB: Into<X>
)Distance
, etc.)The text was updated successfully, but these errors were encountered: