Permalink
Browse files

removed oscillating fade

  • Loading branch information...
alihelmy committed Oct 11, 2011
1 parent bd8f4ae commit 475a22724700fd039330be19840352f96d127185
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lesson Four/com/onehandstand/lwjgltutorial/lessonthree/ShaderTriangle.java
@@ -51,7 +51,7 @@ public ShaderTriangle() {
}
public void update(long timeElapsed) {
- currentFade=(float)(Math.sin(timeElapsed / 1000.0 * (2*3.14) / 5) / 2 + 0.5);
+ currentFade=1.0f;
}
private void initShaderAttributes() {

0 comments on commit 475a227

Please sign in to comment.