Ansification and prototypes.
Eliminated copystruct() macro, which is unnecessary in ANSI. Reduced ambiguity warnings for nested if/if/else clauses.
Replaced most outdated BSD function calls with their posix equivalents, and cleaned up a few other platform dependencies.
Changed instances of "int4" to "int32" and "int2" to "int16"
Added (void *) cast to realloc calls
Moved dircode.c and fixed prototype compiles in hd directory
Changes and check-in for 3.5 release Includes new source files and modifications not recorded for many years See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release
changed dev_value() interface so NULL is passed for infinite points
increased interactive update rate with periodic display flushing
hack so dev_value() doesn't drop leaves in immediate mode
allow unused leaves to fall into free list for greater efficiency
consolidated newleaf() with dev_value()
moved direction encoding routines to dircode.c
changed logic so rays just off view are still saved
change to better, faster angle-difference computation
added code for determining closest ray direction in addleaf()
moved routines specific to rectangle update to rhd_qtree2r.c
improved tree update in update()
changed redraw function to simply mark branches and leaves for update
moved LFREEPCT to rhd_qtree.c and changed from 15% to 25% fixed bug in trunk flag settings in qtFreeTree() fixed bug in tone remapping routine
changed definition of global leaf pile to make tone mapping work better
fixed bug in newleaf()
added qtFindLeaf() and made qtFreeTree() global (dunno why yet)
changed routine name and made it so shaketree() doesn't affect flags
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.