Skip to content

Commit 5111229

Browse files
committed
Merge branch 'dev-patch' of https://github.com/RayTracing/raytracing.github.io into dev-patch
2 parents 97b5ff9 + c840ded commit 5111229

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -769,11 +769,6 @@
769769

770770
</div>
771771

772-
I used the old-school C `qsort` rather than the C++ sort because I need a different compare operator
773-
depending on axis, and `qsort` takes a compare function rather than using the less-than operator. I
774-
pass in a pointer to pointer -- this is just C for “array of pointers” because a pointer in C can
775-
also just be a pointer to the first element of an array.
776-
777772
<div class='together'>
778773
When the list coming in is two elements, I put one in each subtree and end the recursion. The
779774
traverse algorithm should be smooth and not have to check for null pointers, so if I just have one

0 commit comments

Comments
 (0)