quakeforge/libs/util/test
Bill Currie d912970cd3 Add support for segmented text files.
The idea comes from The OpenGL Shader Wrangler
(http://prideout.net/blog/?p=11). Text files are broken up into chunks via
lines beginning with -- (^-- in regex). The chunks are optionally named
with tags of the form: [0-9A-Za-z._]+. Unnamed chunks cannot be found.
Searching for chunks looks for the longest tag that matches the beginning
of the search tag (eg, a chunk named "Vertex" will be found with a search
tag of "Vertex.foo"). Note that '.' forms the units for the searc
("Vertex.foo" will not find "Vertex.f").

Unlike glsw, this implementation does not have the concept of effects keys
as that will be separate. Also, this implementation takes strings rather
than file names (thus is more generally useful).
2014-01-28 16:22:03 +09:00
..
Makefile.am Add support for segmented text files. 2014-01-28 16:22:03 +09:00
test-bary.c Better (-1..1) random numbers. 2013-03-13 14:41:04 +09:00
test-cs.c Catch accuracy errors. 2013-03-13 17:16:34 +09:00
test-dq.c Add tests for inverting a dual quad transform. 2012-05-15 21:08:43 +09:00
test-half.c Add support for half floats. 2012-04-26 20:55:11 +09:00
test-mat3.c Add support and tests for 3x3 matrices. 2012-08-18 16:29:57 +09:00
test-mat4.c Add support and tests for 3x3 matrices. 2012-08-18 16:29:57 +09:00
test-plist.c Create a test for octal chars in plist strings. 2013-01-08 16:32:57 +09:00
test-qfs.c Fix some issues found found by valgrind. 2012-01-24 19:54:21 +09:00
test-quat.c Add tests for matrix decomposition and fix the bugs. 2012-05-15 21:08:44 +09:00
test-seb.c Implement Fischer's SEB algorithm (for 3d). 2013-03-13 17:10:55 +09:00
test-seg.c Add support for segmented text files. 2014-01-28 16:22:03 +09:00
test-set.c Use set_bits_t for holding set elements. 2013-03-16 21:26:49 +09:00
test-vrect.c Add union and merge functions and tests. 2012-01-06 12:57:25 +09:00