Permalink
Browse files

add tab-remover script + remove outdated TODO file

  • Loading branch information...
1 parent 4892a67 commit 8d2ab4839d64c252c0e427114a95e39b40c9ef6a @krogue2 krogue2 committed Jan 11, 2014
Showing with 11 additions and 37 deletions.
  1. +0 −37 better-font-shader-api.TODO.txt
  2. +11 −0 unix_util/remove_tab.sh
@@ -1,37 +0,0 @@
-WRATHTextAttributePacker:
-
- Change interface as follows:
- - generates an attribute packer given number of custom_floats of glyph_data
- --> returned objects will use virtual methods of derived object to get job done
- * attribute names (returned names will also have custom data tacked on)
- * attribute packing (will also pack the custom data as well)
- * not clear if custom data should come first or last.
-
-WRATHFontShaderSpecifier:
-
- - make it so that it automagically generates the GLSL function to create the
- simple array of the custom float data; document this function(!)
- - Document that this comes from TextAttributePacker convention, or make
- the implementation part of WRATHTextAttributePacker
-
-
-WRATHTextureFont:
- - number of custom data's must be constant for entire font,
- as such make it a virtual function too.
- - kill all the minified API in glyph_data_type
-
-
-Kill WRATHTextureFont_Mix:
- - To get minified fonts, compute LOD in fragment shader, if LOD is not 0,
- then get the coverage from the actual font.
- * For Analytic: make mipmaps so that mipmap level>=1 stored just a coverage
- value in one of the locations, for example one the channels holding normals.
- * For Distance, mimpap level >=1 holds coverage instead of distance values
- * For CurveAnalytic: index texture for mipmap level >=1 stores coverage.
- * Detailed coverage: no point.
-
- This has advantage of keeping the font API simple at expense that font
- classes are ickier.
-
-
-
View
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# use with
+# grep -Prl "\t" path1 path2 ... | xargs
+# to remove tabs from a bunch of files
+for ARG in "$@"
+do
+ cp $ARG tmp
+ expand tmp > $ARG
+ rm tmp
+done

0 comments on commit 8d2ab48

Please sign in to comment.