Changeset 3b1caa32d0 in tspsg for src/tspmodel.cpp
- Timestamp:
- Nov 2, 2009, 9:56:53 AM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 0ac9690913
- Parents:
- f383cb181c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tspmodel.cpp
rf383cb181c r3b1caa32d0 468 468 inline int CTSPModel::rand(int min, int max) const 469 469 { 470 return min + (int)(((float)qrand() / RAND_MAX) * max);471 } 470 return min + (int)(((float)qrand() / RAND_MAX) * (max - min)); 471 }
Note: See TracChangeset
for help on using the changeset viewer.