triangle

create a triangle-mountain
Tobias Gloth
1995

History 01-Nov-2000: Allocation checks
22-Dec-1997: Removed MI_PAUSE since it does not work on multiscreens.
10-May-1997: Compatible with xscreensaver
10-Mar-1996: re-arranged and re-formatted the code for appearance and
to make common subroutines. Simplified.
Ron Hitchens
07-Mar-1996: Removed internal delay code, set MI_PAUSE(mi) for inter-scene
delays. No other delays are needed here.
Made pause time sensitive to value of cycles (in 10ths of a
second). Removed (hopefully) all references to globals.
Ron Hitchens
27-Feb-1996: Undid the changes listed below. Added ModeInfo argument.
Implemented delay between scenes using the MI_PAUSE(mi)
scheme. Ron Hitchens
27-Dec-1995: Ron Hitchens
Modified logic of draw_triangle() to provide a delay
(sensitive to the value of cycles) between each iteration.
Because this mode is so compute intensive, when the new
event loop adjusted the delay to compensate, this mode had
almost no delay time left. This change pauses between each
new landscape, but could still be done better (it is not
sensitive to input events while drawing, for example).
03-Nov-1995: Many changes (hopefully some good ones) by David Bagley
01-Oct-1995: Written by Tobias Gloth