Roi Atalla avatar Roi Atalla committed f3f411c

Made all Arcsynthesis examples create a resizable window now.

Comments (0)

Files changed (29)

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter1/Example1_1.java

 	private int program, vbo;
 	
 	public Example1_1() {
-		super("Example 1.1", 500, 500, false);
+		super("Example 1.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter2/example1/Example2_1.java

 	private int vbo;
 	
 	public Example2_1() {
-		super("Example 2.1", 500, 500, false);
+		super("Example 2.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter2/example2/Example2_2.java

 	private int vbo;
 	
 	public Example2_2() {
-		super("Example 2.2", 500, 500, false);
+		super("Example 2.2", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter3/example1/Example3_1.java

 	private long elapsedTime;
 	
 	public Example3_1() {
-		super("Example 3.1", 500, 500, false);
+		super("Example 3.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter3/example2/Example3_2.java

 	private long elapsedTime;
 	
 	public Example3_2() {
-		super("Example 3.2", 500, 500, false);
+		super("Example 3.2", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter3/example3/Example3_3.java

 	private long elapsedTime;
 	
 	public Example3_3() {
-		super("Example 3.3", 500, 500, false);
+		super("Example 3.3", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter3/example4/Example3_4.java

 	private long elapsedTime;
 	
 	public Example3_4() {
-		super("Example 3.4", 500, 500, false);
+		super("Example 3.4", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter4/example1/Example4_1.java

 	private int vbo;
 	
 	public Example4_1() {
-		super("Example 4.1", 500, 500, false);
+		super("Example 4.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter4/example2/Example4_2.java

 	private int vbo;
 	
 	public Example4_2() {
-		super("Example 4.2", 500, 500, false);
+		super("Example 4.2", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl32/chapter4/example3/Example4_3.java

 	private int vbo;
 	
 	public Example4_3() {
-		super("Example 4.3", 500, 500, false);
+		super("Example 4.3", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter1/Example1_1.java

 	private int program, vbo;
 	
 	public Example1_1() {
-		super("Example 1.1", 500, 500, false);
+		super("Example 1.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter2/example1/Example2_1.java

 	private int vbo;
 	
 	public Example2_1() {
-		super("Example 2.1", 500, 500, false);
+		super("Example 2.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter2/example2/Example2_2.java

 	private int vbo;
 	
 	public Example2_2() {
-		super("Example 2.2", 500, 500, false);
+		super("Example 2.2", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example1/Example3_1.java

 	private long elapsedTime;
 	
 	public Example3_1() {
-		super("Example 3.1", 500, 500, false);
+		super("Example 3.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example2/Example3_2.java

 	private long elapsedTime;
 	
 	public Example3_2() {
-		super("Example 3.2", 500, 500, false);
+		super("Example 3.2", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example3/Example3_3.java

 	private long elapsedTime;
 	
 	public Example3_3() {
-		super("Example 3.3", 500, 500, false);
+		super("Example 3.3", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example4/Example3_4.java

 	private long elapsedTime;
 	
 	public Example3_4() {
-		super("Example 3.4", 500, 500, false);
+		super("Example 3.4", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example1/Example4_1.java

 	private int vbo;
 	
 	public Example4_1() {
-		super("Example 4.1", 500, 500, false);
+		super("Example 4.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example2/Example4_2.java

 	private int vbo;
 	
 	public Example4_2() {
-		super("Example 4.2", 500, 500, false);
+		super("Example 4.2", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example3/Example4_3.java

 	private int vbo;
 	
 	public Example4_3() {
-		super("Example 4.3", 500, 500, false);
+		super("Example 4.3", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example1/Example5_1.java

 	private float frustumScale = 1;
 	
 	public Example5_1() {
-		super("Example 5.1", 500, 500, false);
+		super("Example 5.1", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example2/Example5_2.java

 	private float frustumScale = 1;
 	
 	public Example5_2() {
-		super("Example 5.2", 500, 500, false);
+		super("Example 5.2", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example3/Example5_3.java

 	private float frustumScale = 1;
 	
 	public Example5_3() {
-		super("Example 5.3", 500, 500, false);
+		super("Example 5.3", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example4/Example5_4.java

 	private float frustumScale = 1;
 	
 	public Example5_4() {
-		super("Example 5.4", 500, 500, false);
+		super("Example 5.4", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example5/Example5_5.java

 	private float frustumScale = 1;
 	
 	public Example5_5() {
-		super("Example 5.5", 500, 500, false);
+		super("Example 5.5", 500, 500, true);
 	}
 	
 	@Override

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example1/Example6_1.java

 	private long elapsedTime;
 	
 	public Example6_1() {
-		super("Example 6.1", 500, 500, false);
+		super("Example 6.1", 500, 500, true);
 	}
 	
 	private float calculateFrustumScale(float angle) {

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example2/Example6_2.java

 	private long elapsedTime;
 	
 	public Example6_2() {
-		super("Example 6.2", 500, 500, false);
+		super("Example 6.2", 500, 500, true);
 	}
 	
 	private float calculateFrustumScale(float angle) {

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example3/Example6_3.java

 	private long elapsedTime;
 	
 	public Example6_3() {
-		super("Example 6.3", 500, 500, false);
+		super("Example 6.3", 500, 500, true);
 	}
 	
 	private float calculateFrustumScale(float angle) {

src/main/java/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example4/Example6_4.java

 	private int vao;
 	
 	public Example6_4() {
-		super("Example 6.4", 500, 500, false);
+		super("Example 6.4", 500, 500, true);
 	}
 	
 	@Override
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.