Don't check for maximal depth, rather control stack usage and break recursion if...
commit5cbb7bbc3baa5546b344413423e5353525f58a02
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 4 Apr 2017 17:20:47 +0000 (4 17:20 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 4 Apr 2017 17:20:47 +0000 (4 17:20 +0000)
tree9ae0b14e9f4736bc80038d2dc0058277cb6e7fa3
parenta1ae1ac68ffa8ca6de91d2030d937abe3f0ced8c
Don't check for maximal depth, rather control stack usage and break recursion if stack is exhausted. raydepth parameter is still there, it determines the stack size only.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54453 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
developer/debug/test/smp/smp-smallpt/smallpt.cc