Permalink
Browse files

added .xml to .gitignore

  • Loading branch information...
1 parent cc3563b commit c27539b225dc81b99b40fa0b028cd1bfe0ba03a2 @hvfrancesco hvfrancesco committed Dec 9, 2010
Showing with 2 additions and 59 deletions.
  1. +2 −0 .gitignore
  2. +0 −1 bin/data/test.xml
  3. +0 −5 bin/data/warp.frag
  4. +0 −53 bin/data/warp.vert
View
@@ -16,6 +16,8 @@ CVS/
/bin/projection_mapping*
/bin/data/*.xml
+.frag
+.xml
# general generated data
*.a
View
@@ -1 +0,0 @@
-<SHIT>100</SHIT>
View
@@ -1,5 +0,0 @@
-
-void main()
-{
- gl_FragColor = gl_Color;
-}
View
@@ -1,53 +0,0 @@
-//from http://groups.google.com/group/comp.graphics.algorithms/browse_thread/thread/da41b1da909bc91f/303c5f533bb4b8a6
-
-uniform float testX;
-uniform float testY;
-
-uniform float Q1x;
-uniform float Q1y;
-
-uniform float Q2x;
-uniform float Q2y;
-
-uniform float Q3x;
-uniform float Q3y;
-
-uniform float Q4x;
-uniform float Q4y;
-
-uniform float totalWidth;
-uniform float totalHeight;
-
-float bx;
-float ax;
-
-float by;
-float ay;
-
-float C1x, C1y, C2x, C2y;
-
-void main()
-{
- gl_FrontColor = gl_Color;
- vec4 v = vec4(gl_Vertex);
-
- // X fractions
- bx = v.x / totalWidth;
- ax = 1.0 - bx;
-
- // Helper points:
- C1x = Q1x * ax + Q2x * bx;
- C1y = Q1y * ax + Q2y * bx;
- C2x = Q3x * ax + Q4x * bx;
- C2y = Q3y * ax + Q4y * bx;
-
- //Y fractions
- by = v.y / totalHeight;
- ay = 1.0 - by;
-
- v.x = (C1x * ay + C2x * by) * totalWidth;
- v.y = (C1y * ay + C2y * by) * totalHeight;
-
- gl_Position = gl_ModelViewProjectionMatrix * v;
-}
-

0 comments on commit c27539b

Please sign in to comment.