|
|
|||
File indexing completed on 2026-04-09 07:49:15
0001 // ~/o/sysrap/tests/s_seq_test.sh 0002 0003 #include <iostream> 0004 #include "s_seq.h" 0005 0006 int main() 0007 { 0008 s_seq r ; 0009 std::cout << r.desc() ; 0010 0011 r.setSequenceIndex(0) ; 0012 std::cout << r.demo(10) << std::endl ; 0013 0014 r.setSequenceIndex(1) ; 0015 std::cout << r.demo(10) << std::endl ; 0016 0017 // Returning to 0 continues the randoms in that stream (for a photon index) 0018 // they do not repeat unless the cursor is reset or cycled 0019 r.setSequenceIndex(0) ; 0020 std::cout << r.demo(10) << std::endl ; 0021 0022 return 0 ; 0023 }; 0024 0025 // ~/o/sysrap/tests/s_seq_test.sh 0026
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|