|
From: <HBB...@t-...> - 2007-10-27 20:18:55
|
Thomas Sefzick wrote: > the macros 'GET_MIN' and 'GET_MAX' should be different for checking > min or max values in x- and y- and for checking min or max values in > z-direction. No. At the point in the algorithm where these are used, x, y and z have already been turned into view coordinates. They are checked against the view frustum, > who introduced the 'assert' statements into the 'GET_MIN' and 'GET_MAX' > macros and why? I did, for the reason assert() is pretty much always used: to ensure that worse, much harder to find problems don't appear further down the processing pipeline --- you did mention segfaults and strange wrap-around artifacts earlier... |