Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
ola::math Namespace Reference

Detailed Description

Math helper functions.

Functions

void InitRandom ()
int Random (int lower, int upper)

Function Documentation

void ola::math::InitRandom ( )

Seed the random number generator

int ola::math::Random ( int  lower,
int  upper 
)

Return a random number between lower and upper, inclusive. i.e. [lower, upper]