home *** CD-ROM | disk | FTP | other *** search
- Path: maths.tcd.ie!not-for-mail
- From: dwmalone@maths.tcd.ie (David Malone)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: *SLOW* colour cycling.. :(
- Date: 11 Feb 1996 12:14:03 -0000
- Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
- Message-ID: <4fkmib$36p@hamilton.maths.tcd.ie>
- References: <311c0fb8@beachyhd.demon.co.uk>
- NNTP-Posting-Host: hamilton.maths.tcd.ie
-
- Adam@beachyhd.demon.co.uk writes:
-
- > for (i=0; i<Colours; i++)
- > {
- >
- >SetRGB32(&(Screen1->ViewPort),i,Red[currcycle],Green[currcycle],Blue[currcycle]);
-
- > currcycle = (currcycle+1) % Colours;
- > }
-
- Isn't there a system call that takes an array of colours ? You could
- rotate the array and then call this - way less overhead.
-
- David.
-