Revision 0273ef2a
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/library/effect/VertexEffectWave.java | ||
---|---|---|
51 | 51 |
mRegion.get(uniforms,index+REGION_OFFSET,currentDuration,step); |
52 | 52 |
boolean ret = mWave.get(uniforms,index+VALUES_OFFSET,currentDuration,step); |
53 | 53 |
|
54 |
uniforms[index+VALUES_OFFSET+2] = (float)(Math.PI*uniforms[index+2]/180); |
|
55 |
uniforms[index+VALUES_OFFSET+3] = (float)(Math.PI*uniforms[index+3]/180); |
|
56 |
uniforms[index+VALUES_OFFSET+4] = (float)(Math.PI*uniforms[index+4]/180); |
|
54 |
uniforms[index+VALUES_OFFSET+2] = (float)(Math.PI*uniforms[index+VALUES_OFFSET+2]/180);
|
|
55 |
uniforms[index+VALUES_OFFSET+3] = (float)(Math.PI*uniforms[index+VALUES_OFFSET+3]/180);
|
|
56 |
uniforms[index+VALUES_OFFSET+4] = (float)(Math.PI*uniforms[index+VALUES_OFFSET+4]/180);
|
|
57 | 57 |
|
58 | 58 |
return ret; |
59 | 59 |
} |
Also available in: Unified diff
Fixes for pausing and restarting.