Ignore:
Timestamp:
Feb 27, 2013, 10:25:47 AM (7 years ago)
Author:
sam
Message:

math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/benchmark/vector.cpp

    r2183 r2520  
    4040                for (int j = 0; j < 4; j++)
    4141                    for (int k = 0; k < 4; k++)
    42                         pm[i][j][k] = RandF(-2.0f, 2.0f);
     42                        pm[i][j][k] = rand(-2.0f, 2.0f);
    4343            break;
    4444        }
Note: See TracChangeset for help on using the changeset viewer.