Roi Atalla avatar Roi Atalla committed 334f046

*HUGE* error in my Matrix4.toQuaternion class that caused buggy 3D movement in Example12.1. Also, completely reformat with Eclipse Formatter plugin for IDEA.

Comments (0)

Files changed (35)

.idea/workspace.xml

 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="ChangeListManager">
-    <list default="true" id="3bd3582b-975a-4915-888d-8e2c52d85938" name="Default" comment="">
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example2/Example12_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example2/Example12_2.java" />
+    <list default="true" id="3bd3582b-975a-4915-888d-8e2c52d85938" name="Default" comment="*HUGE* error in my Matrix4.toQuaternion class that caused  buggy 3D movement in Example12.1.">
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example2/Example11_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example2/Example11_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example3/Example11_3.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example3/Example11_3.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter1/Example1_1.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter1/Example1_1.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter2/example1/Example2_1.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter2/example1/Example2_1.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb5/chapter2/example1/Example2_1.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb5/chapter2/example1/Example2_1.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter2/example2/Example2_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter2/example2/Example2_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter2/Example2_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter2/Example2_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb5/chapter2/example2/Example2_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb5/chapter2/example2/Example2_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb5/chapter2/example3/Example2_3.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb5/chapter2/example3/Example2_3.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter2/Example2_4.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter2/Example2_4.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example1/Example3_1.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example1/Example3_1.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_10.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_10.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example2/Example3_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example2/Example3_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example3/Example3_3.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example3/Example3_3.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example4/Example3_4.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter3/example4/Example3_4.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example1/Example4_1.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example1/Example4_1.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example2/Example4_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example2/Example4_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example3/Example4_3.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example3/Example4_3.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example4/Example4_4.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example4/Example4_4.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example1/Example5_1.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example1/Example5_1.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example2/Example5_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example2/Example5_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example3/Example5_3.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example3/Example5_3.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example4/Example5_4.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example4/Example5_4.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example5/Example5_5.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter5/example5/Example5_5.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example1/Example6_1.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example1/Example6_1.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example2/Example6_2.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example2/Example6_2.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example3/Example6_3.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example3/Example6_3.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example4/Example6_4.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter6/example4/Example6_4.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter8/example4/Example8_4.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter8/example4/Example8_4.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Matrix4.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Matrix4.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/util/MousePoles.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/util/MousePoles.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Quaternion.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Quaternion.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/test/Test.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/test/Test.java" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/ra4king/opengl/util/Utils.java" afterPath="$PROJECT_DIR$/src/com/ra4king/opengl/util/Utils.java" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
     </list>
     <ignored path="OpenGL.iws" />
     <ignored path=".idea/workspace.xml" />
-    <file path="/a.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362026803052" ignored="false" />
+    <file path="/a.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362091197678" ignored="false" />
     <file path="/fragment.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362032870727" ignored="false" />
     <file path="/a.xml" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1361850040520" ignored="false" />
     <file path="/a.html" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1361850041808" ignored="false" />
     <file path="/a.groovy" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1361850042481" ignored="false" />
-    <file path="/Dummy.txt" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362033000975" ignored="false" />
+    <file path="/Dummy.txt" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205541503" ignored="false" />
     <file path="/Example12_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362027020824" ignored="false" />
     <file path="/example12.1.DiffuseSpecular.frag" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1361702005810" ignored="false" />
     <file path="/LightManager.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1361856937559" ignored="false" />
-    <file path="/sample.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362026921568" ignored="false" />
+    <file path="/sample.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362088564020" ignored="false" />
     <file path="/Scene.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362029076804" ignored="false" />
     <file path="$PROJECT_DIR$/bin/com/ra4king/opengl/arcsynthesis/gl33/chapter8/example1/example8.1.Ship.xml" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1361777249769" ignored="false" />
     <file path="$PROJECT_DIR$/bin/com/ra4king/opengl/arcsynthesis/gl33/chapter8/example2/example8.2.Ship.xml" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1361777249770" ignored="false" />
     <file path="/GLProgram.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362018393427" ignored="false" />
     <file path="/Example8_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362018560645" ignored="false" />
     <file path="/Mesh.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362019507338" ignored="false" />
-    <file path="/MousePoles.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362025482814" ignored="false" />
+    <file path="/MousePoles.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362117526452" ignored="false" />
     <file path="/Vector4.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362025150664" ignored="false" />
     <file path="/WeightedLinearInterpolatorVector.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362027648518" ignored="false" />
     <file path="/ConstVelLinearInterpolatorVector.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362028161945" ignored="false" />
     <file path="/WeightedLinearInterpolatorf.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362028194113" ignored="false" />
     <file path="/LinearInterpolatorf.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362028206784" ignored="false" />
     <file path="/TimedLinearInterpolatorf.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362028213773" ignored="false" />
-    <file path="/Example12_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362033249814" ignored="false" />
+    <file path="/Example12_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362091232380" ignored="false" />
+    <file path="/Quaternion.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362099952877" ignored="false" />
+    <file path="/Utils.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362100285272" ignored="false" />
+    <file path="/Matrix4.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205256256" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/WeightedLinearInterpolatorf.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/WeightedLinearInterpolatorVector.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Matrix3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/MatrixStack.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Vector.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Vector2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Vector3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Vector4.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/LinearInterpolatorVector.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/TimedLinearInterpolatorf.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/TimedLinearInterpolatorVector.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/ConstVelLinearInterpolatorf.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/ConstVelLinearInterpolatorVector.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/LinearInterpolatorf.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585876" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_4.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_5.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_6.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_7.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_8.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_13.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_14.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter2/Circle.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter2/Example2_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter2/Example2_3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter2/Example2_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter2/Example2_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter2/Example2_3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter9/example3/Example9_3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/superbible/osb4/chapter3/Example3_11.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter1/Example1_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter1/Example1_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/redbook/chapter1/Example1_3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter9/example2/Example9_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter9/example1/Example9_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter8/example2/Example8_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter8/example3/Example8_3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter8/example1/Example8_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585878" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter7/example1/Example7_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585877" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter7/example2/Example7_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585878" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example2/Example12_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585878" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example1/Example11_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585878" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter10/example3/Example10_3.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585879" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter10/example1/Example10_1.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585879" ignored="false" />
+    <file path="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter10/example2/Example10_2.java" changelist="3bd3582b-975a-4915-888d-8e2c52d85938" time="1362205585879" ignored="false" />
     <option name="TRACKING_ENABLED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       </breakpoint>
     </breakpoint_any>
     <ui_properties default_suspend_policy="SuspendAll" default_condition_enabled="true" />
+    <line_breakpoints>
+      <breakpoint url="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/MousePoles.java" line="385" class="com.ra4king.opengl.util.MousePoles.ViewPole" package="com.ra4king.opengl.util">
+        <option name="ENABLED" value="true" />
+        <option name="LOG_ENABLED" value="false" />
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
+        <option name="SUSPEND_POLICY" value="SuspendAll" />
+        <option name="SUSPEND" value="true" />
+        <option name="COUNT_FILTER_ENABLED" value="false" />
+        <option name="COUNT_FILTER" value="0" />
+        <option name="CONDITION_ENABLED" value="true" />
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+        <option name="CONDITION" value="" />
+        <option name="LOG_MESSAGE" value="" />
+      </breakpoint>
+    </line_breakpoints>
     <breakpoint_rules />
     <ui_properties />
   </component>
   </component>
   <component name="FileEditorManager">
     <leaf>
-      <file leaf-file-name="Example12_2.java" pinned="false" current="true" current-in-tab="true">
-        <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example2/Example12_2.java">
+      <file leaf-file-name="MousePoles.java" pinned="false" current="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/MousePoles.java">
           <provider selected="true" editor-type-id="text-editor">
-            <state line="23" column="0" selection-start="396" selection-end="396" vertical-scroll-proportion="0.6400742">
+            <state line="510" column="8" selection-start="13214" selection-end="13214" vertical-scroll-proportion="0.0">
               <folding />
             </state>
           </provider>
         </entry>
       </file>
+      <file leaf-file-name="Matrix4.java" pinned="false" current="true" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Matrix4.java">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="302" column="8" selection-start="10092" selection-end="10092" vertical-scroll-proportion="0.4256757">
+              <folding>
+                <element signature="imports" expanded="true" />
+              </folding>
+            </state>
+          </provider>
+        </entry>
+      </file>
     </leaf>
   </component>
   <component name="FindManager">
   <component name="IdeDocumentHistory">
     <option name="changedFiles">
       <list>
-        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/MousePoles.java" />
-        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example1/example12.1.DiffuseSpecularMtl.frag" />
-        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/WeightedLinearInterpolatorVector.java" />
-        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/TimedLinearInterpolatorVector.java" />
         <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/ConstVelLinearInterpolatorVector.java" />
         <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/ConstVelLinearInterpolatorf.java" />
         <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/WeightedLinearInterpolatorf.java" />
         <option value="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example1/Example12_1.java" />
         <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/Timer.java" />
         <option value="$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example2/Example12_2.java" />
+        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Quaternion.java" />
+        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/MousePoles.java" />
+        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/Utils.java" />
+        <option value="$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Matrix4.java" />
       </list>
     </option>
   </component>
     <treeState />
   </component>
   <component name="ProjectFrameBounds">
-    <option name="x" value="1979" />
-    <option name="y" value="38" />
-    <option name="width" value="1738" />
-    <option name="height" value="908" />
+    <option name="x" value="1912" />
+    <option name="y" value="-8" />
+    <option name="width" value="1936" />
+    <option name="height" value="1096" />
   </component>
   <component name="ProjectInspectionProfilesVisibleTreeState">
     <entry key="Project Default">
     <OptionsSetting value="true" id="Status" />
     <OptionsSetting value="true" id="Edit" />
     <ConfirmationsSetting value="2" id="Add" />
-    <ConfirmationsSetting value="1" id="Remove" />
+    <ConfirmationsSetting value="0" id="Remove" />
   </component>
   <component name="ProjectReloadState">
     <option name="STATE" value="0" />
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
             </PATH_ELEMENT>
             <PATH_ELEMENT>
-              <option name="myItemId" value="example2" />
+              <option name="myItemId" value="example1" />
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
             </PATH_ELEMENT>
           </PATH>
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
             </PATH_ELEMENT>
           </PATH>
+          <PATH>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="OpenGL" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="OpenGL" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="files" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+          </PATH>
         </subPane>
       </pane>
     </panes>
   </component>
   <component name="PropertiesComponent">
-    <property name="project.structure.last.edited" value="Modules" />
+    <property name="project.structure.last.edited" value="Facets" />
     <property name="project.structure.proportion" value="0.15" />
     <property name="options.splitter.main.proportions" value="0.3" />
     <property name="recentsLimit" value="5" />
       <recent name="E:\Roi Atalla\Documents\Programming Files\Java Files\Personal Projects\OpenGL\files" />
     </key>
   </component>
-  <component name="RunManager" selected="Application.Example12_2">
+  <component name="RunManager" selected="Application.Example12_1">
     <configuration default="false" name="Example12_1" type="Application" factoryName="Application" temporary="true">
       <option name="MAIN_CLASS_NAME" value="com.ra4king.opengl.arcsynthesis.gl33.chapter12.example1.Example12_1" />
       <option name="VM_PARAMETERS" value="-Djava.library.path=files/natives/" />
       <created>1362033002506</created>
       <updated>1362033002506</updated>
     </task>
-    <option name="localTasksCounter" value="6" />
+    <task id="LOCAL-00006" summary="Silly typo.">
+      <created>1362033354373</created>
+      <updated>1362033354373</updated>
+    </task>
+    <option name="localTasksCounter" value="7" />
     <servers />
   </component>
   <component name="TodoView" selected-index="0">
     </todo-panel>
   </component>
   <component name="ToolWindowManager">
-    <frame x="1979" y="38" width="1738" height="908" extended-state="0" />
+    <frame x="1912" y="-8" width="1936" height="1096" extended-state="6" />
     <editor active="true" />
     <layout>
       <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32942432" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
       <window_info id="JetGradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32977587" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2497332" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32942432" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.081023455" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32905984" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" />
       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.18366013" sideWeight="0.14915694" order="2" side_tool="true" content_ui="tabs" />
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24413647" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.18366013" sideWeight="0.17250325" order="1" side_tool="true" content_ui="tabs" />
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32977587" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.21658711" sideWeight="0.75333333" order="0" side_tool="false" content_ui="combo" />
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24666667" sideWeight="0.9898039" order="2" side_tool="false" content_ui="tabs" />
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19370331" sideWeight="0.97441363" order="0" side_tool="false" content_ui="combo" />
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.025586354" sideWeight="0.9898039" order="2" side_tool="false" content_ui="tabs" />
       <window_info id="Documentation" active="true" anchor="right" auto_hide="false" internal_type="DOCKED" type="FLOATING" visible="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" x="2005" y="109" width="1736" height="896" />
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
     <option name="MAXIMUM_HISTORY_ROWS" value="1000" />
     <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
     <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
-    <option name="LAST_COMMIT_MESSAGE" value="Workspace.xml being weird." />
+    <option name="LAST_COMMIT_MESSAGE" value="Silly typo." />
     <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
     <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
     <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
     <MESSAGE value="Example 12.1 completely ported and fully working." />
     <MESSAGE value="Setup Example 12.2." />
     <MESSAGE value="Workspace.xml being weird." />
+    <MESSAGE value="Silly typo." />
   </component>
   <component name="XDebuggerManager">
     <breakpoint-manager>
     <option name="FILTER_TARGETS" value="false" />
   </component>
   <component name="editorHistoryManager">
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/LinearInterpolatorVector.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="24" column="0" selection-start="644" selection-end="644" vertical-scroll-proportion="0.47482014" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/LinearInterpolatorf.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="22" column="0" selection-start="570" selection-end="570" vertical-scroll-proportion="0.47482014" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/interpolators/ConstVelLinearInterpolatorVector.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="36" column="0" selection-start="832" selection-end="832" vertical-scroll-proportion="0.7338129" />
-      </provider>
-    </entry>
-    <entry file="jar://C:/Program Files/Java/jdk7/src.zip!/java/nio/Buffer.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="240" column="0" selection-start="7646" selection-end="7646" vertical-scroll-proportion="0.44028777" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example1/example12.1.DiffuseSpecularMtl.frag">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="15" column="0" selection-start="207" selection-end="207" vertical-scroll-proportion="0.32374102" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example12.UnitCube.xml">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="113" column="0" selection-start="1719" selection-end="1719" vertical-scroll-proportion="0.8705036">
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/math/MatrixStack.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="13" column="19" selection-start="265" selection-end="265" vertical-scroll-proportion="0.27503526" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/LightManager.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="215" column="4" selection-start="8034" selection-end="8034" vertical-scroll-proportion="0.057827927">
-          <folding>
-            <element signature="imports" expanded="true" />
-          </folding>
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example1/example12.1.UniformColor.frag">
       <provider selected="true" editor-type-id="text-editor">
         <state line="10" column="0" selection-start="108" selection-end="108" vertical-scroll-proportion="0.21582733" />
         <state line="34" column="0" selection-start="749" selection-end="749" vertical-scroll-proportion="0.55921054" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example1/Example12_1.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="62" column="4" selection-start="2348" selection-end="2348" vertical-scroll-proportion="0.7236842" />
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example1/Example11_1.java">
       <provider selected="true" editor-type-id="text-editor">
         <state line="29" column="13" selection-start="1142" selection-end="1142" vertical-scroll-proportion="0.086330935" />
     </entry>
     <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example2/Example12_2.java">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="23" column="0" selection-start="396" selection-end="396" vertical-scroll-proportion="0.6400742">
+        <state line="28" column="0" selection-start="538" selection-end="538" vertical-scroll-proportion="0.5511811">
+          <folding>
+            <element signature="imports" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example3/Example11_3.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="29" column="13" selection-start="1142" selection-end="1142" vertical-scroll-proportion="-0.7973422">
           <folding />
         </state>
       </provider>
     </entry>
+    <entry file="jar://$PROJECT_DIR$/files/lwjgl.jar!/org/lwjgl/input/Mouse.class">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="119" column="26" selection-start="4360" selection-end="4360" vertical-scroll-proportion="0.8183391">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Vector2.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="39" column="0" selection-start="544" selection-end="544" vertical-scroll-proportion="0.33333334">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Vector3.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="127" column="4" selection-start="1995" selection-end="1995" vertical-scroll-proportion="0.31644145">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/Utils.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="25" column="4" selection-start="814" selection-end="814" vertical-scroll-proportion="0.4485646">
+          <folding>
+            <element signature="imports" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/arcsynthesis/gl33/chapter12/example1/Example12_1.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="112" column="4" selection-start="4181" selection-end="4181" vertical-scroll-proportion="0.033783782">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Quaternion.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="77" column="4" selection-start="1140" selection-end="1140" vertical-scroll-proportion="0.31644145">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/MousePoles.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="510" column="8" selection-start="13214" selection-end="13214" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/com/ra4king/opengl/util/math/Matrix4.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="302" column="8" selection-start="10092" selection-end="10092" vertical-scroll-proportion="0.4256757">
+          <folding>
+            <element signature="imports" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
   </component>
   <component name="masterDetails">
     <states>
       <state key="ArtifactsStructureConfigurable.UI">
         <settings>
           <artifact-editor />
+          <last-edited>unnamed</last-edited>
           <splitter-proportions>
             <option name="proportions">
               <list>
             <option name="proportions">
               <list>
                 <option value="0.2" />
+                <option value="0.5" />
               </list>
             </option>
           </splitter-proportions>
       </state>
       <state key="ScopeChooserConfigurable.UI">
         <settings>
+          <last-edited>Unnamed</last-edited>
           <splitter-proportions>
             <option name="proportions">
               <list>

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

 	public static void main(String[] args) {
 		new Example1_1().run(true);
 	}
-
+	
 	private int program, vbo;
-
+	
 	public Example1_1() {
 		super("Example 1.1 - Hello Triangle", 500, 500, true);
 	}
-
+	
 	@Override
 	public void init() {
 		glClearColor(0, 0, 0, 0);
-
+		
 		int vs = glCreateShader(GL_VERTEX_SHADER);
 		glShaderSource(vs, readFromFile("example1.1.vert"));
-
+		
 		glCompileShader(vs);
-
+		
 		if(glGetShaderi(vs, GL_COMPILE_STATUS) == GL_FALSE) {
 			System.err.println("Failure in compiling vertex shader. Error log:\n" + glGetShaderInfoLog(vs, glGetShaderi(vs, GL_INFO_LOG_LENGTH)));
 			System.exit(0);
 		}
-
+		
 		int fs = glCreateShader(GL_FRAGMENT_SHADER);
 		glShaderSource(fs, readFromFile("example1.1.frag"));
-
+		
 		glCompileShader(fs);
-
+		
 		if(glGetShaderi(fs, GL_COMPILE_STATUS) == GL_FALSE) {
 			System.err.println("Failure in compiling fragment shader. Error log:\n" + glGetShaderInfoLog(fs, glGetShaderi(fs, GL_INFO_LOG_LENGTH)));
 			destroy();
 		}
-
+		
 		program = glCreateProgram();
 		glAttachShader(program, vs);
 		glAttachShader(program, fs);
-
+		
 		glLinkProgram(program);
-
+		
 		if(glGetProgrami(program, GL_LINK_STATUS) == GL_FALSE) {
 			System.err.println("Failure in linking program. Error log:\n" + glGetProgramInfoLog(program, glGetProgrami(program, GL_INFO_LOG_LENGTH)));
 			destroy();
 		}
-
+		
 		glDetachShader(program, vs);
 		glDetachShader(program, fs);
-
+		
 		glDeleteShader(vs);
 		glDeleteShader(fs);
-
+		
 		vbo = glGenBuffers();
-
+		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);
-		glBufferData(GL_ARRAY_BUFFER, (FloatBuffer)BufferUtils.createFloatBuffer(24).put(new float[] {0.75f, 0.75f, 0.0f, 1.0f,
+		glBufferData(GL_ARRAY_BUFFER, (FloatBuffer)BufferUtils.createFloatBuffer(24).put(new float[] { 0.75f, 0.75f, 0.0f, 1.0f,
 				0.75f, -0.75f, 0.0f, 1.0f,
-				-0.75f, -0.75f, 0.0f, 1.0f}).flip(), GL_STATIC_DRAW);
-
+				-0.75f, -0.75f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
+		
 		glBindVertexArray(glGenVertexArrays());
-
+		
 		glBindBuffer(GL_ARRAY_BUFFER, 0);
 	}
-
+	
 	@Override
 	public void render() {
 		glClear(GL_COLOR_BUFFER_BIT);
-
+		
 		glUseProgram(program);
-
+		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);
 		glEnableVertexAttribArray(0);
 		glVertexAttribPointer(0, 4, GL_FLOAT, false, 0, 0);
-
+		
 		glDrawArrays(GL_TRIANGLES, 0, 3);
-
+		
 		glDisableVertexAttribArray(0);
 		glBindBuffer(GL_ARRAY_BUFFER, 0);
-
+		
 		glUseProgram(0);
 	}
 }

src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example2/Example11_2.java

 	
 	private ProgramPair[] programs = new ProgramPair[LightingModel.values().length];
 	private ShaderPair[] shaderFiles = { new ShaderPair("PN.vert", "PCN.vert", "PhongLighting.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "PhongOnly.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "BlinnLighting.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "BlinnOnly.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "PhongOnly.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "BlinnLighting.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "BlinnOnly.frag"),
 	};
 	
 	private UnlitProgramData unlit;

src/com/ra4king/opengl/arcsynthesis/gl33/chapter11/example3/Example11_3.java

 	
 	private ProgramPair[] programs = new ProgramPair[LightingModel.values().length];
 	private ShaderPair[] shaderFiles = { new ShaderPair("PN.vert", "PCN.vert", "PhongLighting.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "PhongOnly.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "BlinnLighting.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "BlinnOnly.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "GaussianLighting.frag"),
-										new ShaderPair("PN.vert", "PCN.vert", "GaussianOnly.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "PhongOnly.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "BlinnLighting.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "BlinnOnly.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "GaussianLighting.frag"),
+			new ShaderPair("PN.vert", "PCN.vert", "GaussianOnly.frag"),
 	};
 	
 	private UnlitProgramData unlit;

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

 		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);
 		glBufferData(GL_ARRAY_BUFFER, (FloatBuffer)BufferUtils.createFloatBuffer(12).put(new float[] { 0.75f, 0.75f, 0.0f, 1.0f,
-																										0.75f, -0.75f, 0.0f, 1.0f,
-																										-0.75f, -0.75f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
+				0.75f, -0.75f, 0.0f, 1.0f,
+				-0.75f, -0.75f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
 		
 		glBindVertexArray(glGenVertexArrays());
 		

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

 		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);
 		glBufferData(GL_ARRAY_BUFFER, (FloatBuffer)BufferUtils.createFloatBuffer(24).put(new float[] { 0.0f, 0.5f, 0.0f, 1.0f,
-																										0.5f, -0.366f, 0.0f, 1.0f,
-																										-0.5f, -0.366f, 0.0f, 1.0f,
-																										1.0f, 0.0f, 0.0f, 1.0f,
-																										0.0f, 1.0f, 0.0f, 1.0f,
-																										0.0f, 0.0f, 1.0f, 1.0f }).flip(), GL_STATIC_DRAW);
+				0.5f, -0.366f, 0.0f, 1.0f,
+				-0.5f, -0.366f, 0.0f, 1.0f,
+				1.0f, 0.0f, 0.0f, 1.0f,
+				0.0f, 1.0f, 0.0f, 1.0f,
+				0.0f, 0.0f, 1.0f, 1.0f }).flip(), GL_STATIC_DRAW);
 		
 		glBindVertexArray(glGenVertexArrays());
 		

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

 		vbo = glGenBuffers();
 		
 		vertexData = (FloatBuffer)BufferUtils.createFloatBuffer(12).put(new float[] { 0.25f, 0.25f, 0.0f, 1.0f,
-																						0.25f, -0.25f, 0.0f, 1.0f,
-																						-0.25f, -0.25f, 0.0f, 1.0f }).flip();
+				0.25f, -0.25f, 0.0f, 1.0f,
+				-0.25f, -0.25f, 0.0f, 1.0f }).flip();
 		newData = BufferUtils.createFloatBuffer(12);
 		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);

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

 		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);
 		glBufferData(GL_ARRAY_BUFFER, (FloatBuffer)BufferUtils.createFloatBuffer(12).put(new float[] { 0.25f, 0.25f, 0.0f, 1.0f,
-																										0.25f, -0.25f, 0.0f, 1.0f,
-																										-0.25f, -0.25f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
+				0.25f, -0.25f, 0.0f, 1.0f,
+				-0.25f, -0.25f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
 		
 		glBindVertexArray(glGenVertexArrays());
 		

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

 		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);
 		glBufferData(GL_ARRAY_BUFFER, (FloatBuffer)BufferUtils.createFloatBuffer(12).put(new float[] { 0.25f, 0.25f, 0.0f, 1.0f,
-																										0.25f, -0.25f, 0.0f, 1.0f,
-																										-0.25f, -0.25f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
+				0.25f, -0.25f, 0.0f, 1.0f,
+				-0.25f, -0.25f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
 		
 		glBindVertexArray(glGenVertexArrays());
 		

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

 		
 		glBindBuffer(GL_ARRAY_BUFFER, vbo);
 		glBufferData(GL_ARRAY_BUFFER, (FloatBuffer)BufferUtils.createFloatBuffer(12).put(new float[] { 0.25f, 0.25f, 0.0f, 1.0f,
-																										0.25f, -0.25f, 0.0f, 1.0f,
-																										-0.25f, -0.25f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
+				0.25f, -0.25f, 0.0f, 1.0f,
+				-0.25f, -0.25f, 0.0f, 1.0f }).flip(), GL_STATIC_DRAW);
 		
 		glBindVertexArray(glGenVertexArrays());
 		

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

 	}
 	
 	private final float[] data = {
-									0.25f, 0.25f, 0.75f, 1.0f,
-									0.25f, -0.25f, 0.75f, 1.0f,
-									-0.25f, 0.25f, 0.75f, 1.0f,
-									
-									0.25f, -0.25f, 0.75f, 1.0f,
-									-0.25f, -0.25f, 0.75f, 1.0f,
-									-0.25f, 0.25f, 0.75f, 1.0f,
-									
-									0.25f, 0.25f, -0.75f, 1.0f,
-									-0.25f, 0.25f, -0.75f, 1.0f,
-									0.25f, -0.25f, -0.75f, 1.0f,
-									
-									0.25f, -0.25f, -0.75f, 1.0f,
-									-0.25f, 0.25f, -0.75f, 1.0f,
-									-0.25f, -0.25f, -0.75f, 1.0f,
-									
-									-0.25f, 0.25f, 0.75f, 1.0f,
-									-0.25f, -0.25f, 0.75f, 1.0f,
-									-0.25f, -0.25f, -0.75f, 1.0f,
-									
-									-0.25f, 0.25f, 0.75f, 1.0f,
-									-0.25f, -0.25f, -0.75f, 1.0f,
-									-0.25f, 0.25f, -0.75f, 1.0f,
-									
-									0.25f, 0.25f, 0.75f, 1.0f,
-									0.25f, -0.25f, -0.75f, 1.0f,
-									0.25f, -0.25f, 0.75f, 1.0f,
-									
-									0.25f, 0.25f, 0.75f, 1.0f,
-									0.25f, 0.25f, -0.75f, 1.0f,
-									0.25f, -0.25f, -0.75f, 1.0f,
-									
-									0.25f, 0.25f, -0.75f, 1.0f,
-									0.25f, 0.25f, 0.75f, 1.0f,
-									-0.25f, 0.25f, 0.75f, 1.0f,
-									
-									0.25f, 0.25f, -0.75f, 1.0f,
-									-0.25f, 0.25f, 0.75f, 1.0f,
-									-0.25f, 0.25f, -0.75f, 1.0f,
-									
-									0.25f, -0.25f, -0.75f, 1.0f,
-									-0.25f, -0.25f, 0.75f, 1.0f,
-									0.25f, -0.25f, 0.75f, 1.0f,
-									
-									0.25f, -0.25f, -0.75f, 1.0f,
-									-0.25f, -0.25f, -0.75f, 1.0f,
-									-0.25f, -0.25f, 0.75f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f
+			0.25f, 0.25f, 0.75f, 1.0f,
+			0.25f, -0.25f, 0.75f, 1.0f,
+			-0.25f, 0.25f, 0.75f, 1.0f,
+			
+			0.25f, -0.25f, 0.75f, 1.0f,
+			-0.25f, -0.25f, 0.75f, 1.0f,
+			-0.25f, 0.25f, 0.75f, 1.0f,
+			
+			0.25f, 0.25f, -0.75f, 1.0f,
+			-0.25f, 0.25f, -0.75f, 1.0f,
+			0.25f, -0.25f, -0.75f, 1.0f,
+			
+			0.25f, -0.25f, -0.75f, 1.0f,
+			-0.25f, 0.25f, -0.75f, 1.0f,
+			-0.25f, -0.25f, -0.75f, 1.0f,
+			
+			-0.25f, 0.25f, 0.75f, 1.0f,
+			-0.25f, -0.25f, 0.75f, 1.0f,
+			-0.25f, -0.25f, -0.75f, 1.0f,
+			
+			-0.25f, 0.25f, 0.75f, 1.0f,
+			-0.25f, -0.25f, -0.75f, 1.0f,
+			-0.25f, 0.25f, -0.75f, 1.0f,
+			
+			0.25f, 0.25f, 0.75f, 1.0f,
+			0.25f, -0.25f, -0.75f, 1.0f,
+			0.25f, -0.25f, 0.75f, 1.0f,
+			
+			0.25f, 0.25f, 0.75f, 1.0f,
+			0.25f, 0.25f, -0.75f, 1.0f,
+			0.25f, -0.25f, -0.75f, 1.0f,
+			
+			0.25f, 0.25f, -0.75f, 1.0f,
+			0.25f, 0.25f, 0.75f, 1.0f,
+			-0.25f, 0.25f, 0.75f, 1.0f,
+			
+			0.25f, 0.25f, -0.75f, 1.0f,
+			-0.25f, 0.25f, 0.75f, 1.0f,
+			-0.25f, 0.25f, -0.75f, 1.0f,
+			
+			0.25f, -0.25f, -0.75f, 1.0f,
+			-0.25f, -0.25f, 0.75f, 1.0f,
+			0.25f, -0.25f, 0.75f, 1.0f,
+			
+			0.25f, -0.25f, -0.75f, 1.0f,
+			-0.25f, -0.25f, -0.75f, 1.0f,
+			-0.25f, -0.25f, 0.75f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f
 	};
 	
 	private ShaderProgram program;

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

 	}
 	
 	private final float[] data = {
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f
 	};
 	
 	private ShaderProgram program;

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

 	}
 	
 	private final float[] data = {
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f
 	};
 	
 	private ShaderProgram program;

src/com/ra4king/opengl/arcsynthesis/gl33/chapter4/example4/Example4_4.java

 	}
 	
 	private final float[] data = {
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -1.25f, 1.0f,
-									0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, -0.25f, -2.75f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									
-									0.25f, 0.25f, -2.75f, 1.0f,
-									-0.25f, 0.25f, -1.25f, 1.0f,
-									-0.25f, 0.25f, -2.75f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -2.75f, 1.0f,
-									-0.25f, -0.25f, -1.25f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									0.0f, 0.0f, 1.0f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									0.8f, 0.8f, 0.8f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									0.0f, 1.0f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									0.5f, 0.5f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									1.0f, 0.0f, 0.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f,
-									0.0f, 1.0f, 1.0f, 1.0f
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -1.25f, 1.0f,
+			0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, -0.25f, -2.75f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			
+			0.25f, 0.25f, -2.75f, 1.0f,
+			-0.25f, 0.25f, -1.25f, 1.0f,
+			-0.25f, 0.25f, -2.75f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -2.75f, 1.0f,
+			-0.25f, -0.25f, -1.25f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			0.0f, 0.0f, 1.0f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			0.8f, 0.8f, 0.8f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			0.0f, 1.0f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			0.5f, 0.5f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			1.0f, 0.0f, 0.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f,
+			0.0f, 1.0f, 1.0f, 1.0f
 	};
 	
 	private ShaderProgram program;

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

 	private final float[] BROWN_COLOR = { 0.5f, 0.5f, 0, 1 };
 	
 	private float data[] = {
-							// Object 1 positions
-							LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							
-							LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							// Object 2 positions
-							TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
-							MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
-							TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
-							MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
-							BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
-							BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							
-							TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
-							BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							// Object 1 colors
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							
-							BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
-							BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
-							BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
-							BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
-							
-							RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
-							RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
-							RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
-							
-							GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
-							GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
-							GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
-							
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							
-							// Object 2 colors
-							RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
-							RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
-							RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
-							RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
-							
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
-							
-							BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
-							BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
-							BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
-							
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							
-							GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
-							GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
-							GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
-							GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
+			// Object 1 positions
+			LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
+			LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
+			RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
+			RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
+			
+			LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
+			LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
+			RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
+			RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
+			
+			LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
+			LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
+			LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
+			
+			RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
+			RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
+			RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
+			
+			LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
+			LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
+			RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
+			RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
+			
+			// Object 2 positions
+			TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
+			MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
+			MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
+			TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
+			
+			BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
+			MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
+			MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
+			BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
+			
+			TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
+			MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
+			BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
+			
+			TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
+			MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
+			BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
+			
+			BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
+			TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
+			TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
+			BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
+			
+			// Object 1 colors
+			GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
+			GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
+			GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
+			GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
+			
+			BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
+			BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
+			BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
+			BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
+			
+			RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
+			RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
+			RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
+			
+			GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
+			GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
+			GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
+			
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			
+			// Object 2 colors
+			RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
+			RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
+			RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
+			RED_COLOR[0], RED_COLOR[1], RED_COLOR[2], RED_COLOR[3],
+			
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			BROWN_COLOR[0], BROWN_COLOR[1], BROWN_COLOR[2], BROWN_COLOR[3],
+			
+			BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
+			BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
+			BLUE_COLOR[0], BLUE_COLOR[1], BLUE_COLOR[2], BLUE_COLOR[3],
+			
+			GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
+			GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
+			GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
+			
+			GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
+			GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
+			GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
+			GREY_COLOR[0], GREY_COLOR[1], GREY_COLOR[2], GREY_COLOR[3],
 	};
 	
 	private final short[] indices = {
-										0, 2, 1,
-										3, 2, 0,
-										
-										4, 5, 6,
-										6, 7, 4,
-										
-										8, 9, 10,
-										11, 13, 12,
-										
-										14, 16, 15,
-										17, 16, 14
+			0, 2, 1,
+			3, 2, 0,
+			
+			4, 5, 6,
+			6, 7, 4,
+			
+			8, 9, 10,
+			11, 13, 12,
+			
+			14, 16, 15,
+			17, 16, 14
 	};
 	
 	private ShaderProgram program;

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

 	private final float[] BROWN_COLOR = { 0.5f, 0.5f, 0, 1 };
 	
 	private float data[] = {
-							// Object 1 positions
-							LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							
-							LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							RIGHT_EXTENT, MIDDLE_EXTENT, FRONT_EXTENT,
-							RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							LEFT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							LEFT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							RIGHT_EXTENT, TOP_EXTENT, REAR_EXTENT,
-							RIGHT_EXTENT, BOTTOM_EXTENT, REAR_EXTENT,
-							
-							// Object 2 positions
-							TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
-							MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
-							TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
-							MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
-							BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, RIGHT_EXTENT, FRONT_EXTENT,
-							BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							
-							TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							MIDDLE_EXTENT, LEFT_EXTENT, FRONT_EXTENT,
-							BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							BOTTOM_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							TOP_EXTENT, RIGHT_EXTENT, REAR_EXTENT,
-							TOP_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							BOTTOM_EXTENT, LEFT_EXTENT, REAR_EXTENT,
-							
-							// Object 1 colors
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_COLOR[0], GREEN_COLOR[1], GREEN_COLOR[2], GREEN_COLOR[3],
-							GREEN_C