Ignore:
Timestamp:
Mar 21, 2006, 11:52:24 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Changed the cacaplas colours. Yeah, I do what I want.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaplas.c

    r653 r655  
    9494            double z = ((double)i) / 256 * 6 * M_PI;
    9595
    96             red[i] = (1.0 + cos(z + r[0] * frame)) / 2 * 0xfff;
    97             green[i] = (1.0 + sin(z + r[1] * frame)) / 2 * 0xfff;
    98             blue[i] = (1.0 + cos(z + r[2] * frame)) / 2 * 0xfff;
     96            red[i] = (1.0 + sin(z + r[1] * frame)) / 2 * 0xfff;
     97            blue[i] = (1.0 + cos(z + r[0] * frame)) / 2 * 0xfff;
     98            green[i] = (1.0 + cos(z + r[2] * frame)) / 2 * 0xfff;
    9999        }
    100100
Note: See TracChangeset for help on using the changeset viewer.