~ubuntu-branches/ubuntu/gutsy/rss-glx/gutsy

« back to all changes in this revision

Viewing changes to oglc_src/hufo_tunnel.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-11-30 18:21:27 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051130182127-5iww7elbiyzej1lk
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
        for (int i = 0; i < HoleNbParImg; i++) {
71
71
                if (dCoarse) {
72
 
                        c1 = RefHole[i].c1 + myRandf (2 * TUNNELCOLORRND) - TUNNELCOLORRND;
 
72
                        c1 = RefHole[i].c1 + rsRandf (2 * TUNNELCOLORRND) - TUNNELCOLORRND;
73
73
                        if (c1 < 0)
74
74
                                c1 = 0;
75
75
                        else if (c1 > 1)
76
76
                                c1 = 1;
77
 
                        c2 = RefHole[i].c2 + myRandf (2 * TUNNELCOLORRND) - TUNNELCOLORRND;
 
77
                        c2 = RefHole[i].c2 + rsRandf (2 * TUNNELCOLORRND) - TUNNELCOLORRND;
78
78
                        if (c2 < 0)
79
79
                                c2 = 0;
80
80
                        else if (c2 > 1)