Project

General

Profile

« Previous | Next » 

Revision bcbd5b45

Added by Leszek Koltunski about 4 years ago

Adjustment to Static's API.

View differences:

src/main/java/org/distorted/examples/flag/FlagRenderer.java
112 112

  
113 113
    void setAmplitude(int a)
114 114
      {
115
      mWaveSta1.set1(a);
116
      mWaveSta2.set1(a);
115
      mWaveSta1.set0(a);
116
      mWaveSta2.set0(a);
117 117
      }
118 118

  
119 119
///////////////////////////////////////////////////////////////////////////////////////////////////
120 120

  
121 121
    void setLength(int l)
122 122
      {
123
      mWaveSta1.set2(l);
124
      mWaveSta2.set2(l);
123
      mWaveSta1.set1(l);
124
      mWaveSta2.set1(l);
125 125
      }
126 126

  
127 127
///////////////////////////////////////////////////////////////////////////////////////////////////
128 128

  
129 129
    void setAngleA(int a)
130 130
      {
131
      mWaveSta1.set4(a);
132
      mWaveSta2.set4(a);
131
      mWaveSta1.set3(a);
132
      mWaveSta2.set3(a);
133 133
      }
134 134

  
135 135
///////////////////////////////////////////////////////////////////////////////////////////////////
136 136

  
137 137
    void setAngleB(int b)
138 138
      {
139
      mWaveSta1.set5(b);
140
      mWaveSta2.set5(b);
139
      mWaveSta1.set4(b);
140
      mWaveSta2.set4(b);
141 141
      }
142 142

  
143 143
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff