1. Roi Atalla
  2. LWJGL Shader Tutorials

Commits

Roi Atalla  committed bcedcc8

Forgot to check for keypress of 'T' in Example 10.2. 'T' is used to toggle scaling the cylinder.

  • Participants
  • Parent commits 9b332ea
  • Branches default

Comments (0)

Files changed (2)

File src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter10/example2/Example10_2.java

View file
  • Ignore whitespace
 			case Keyboard.KEY_Y:
 				drawLight = !drawLight;
 				break;
+			case Keyboard.KEY_T:
+				scaleCyl = !scaleCyl;
+				break;
 			case Keyboard.KEY_H:
 				useFragmentLighting = !useFragmentLighting;
 				break;

File src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter10/example3/Example10_3.java

View file
  • Ignore whitespace
+package com.ra4king.opengl.arcsynthesis.gl33.chapter10.example3;
+
+public class Example10_3 {
+	
+}