Changeset 473 for trunk/VUT/GtpVisibilityPreprocessor/src/VssTree.cpp
- Timestamp:
- 12/20/05 20:33:42 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssTree.cpp
r469 r473 1720 1720 for (int i=0; i < numberOfRays; i++) { 1721 1721 // pickup 3 random rays 1722 int r1 = Random(nrays-1);1723 int r2 = Random(nrays-1);1724 int r3 = Random(nrays-1);1722 int r1 = (int)RandomValue(0, nrays-1); 1723 int r2 = (int)RandomValue(0, nrays-1); 1724 int r3 = (int)RandomValue(0, nrays-1); 1725 1725 1726 1726 Vector3 o1 = leaf->rays[r1].Extrap(RandomValue(leaf->rays[r1].GetMinT(),
Note: See TracChangeset
for help on using the changeset viewer.