From 3f1bda99f1e4aec19c1c71de5324814bfc1c2eaa Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 12 Feb 2010 03:05:20 +0100 Subject: added test target to main build script. added StructAccessorTest, refactored other tests. updated project files, paths etc. --- test/junit/com/sun/gluegen/struct.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/junit/com/sun/gluegen/struct.h (limited to 'test/junit/com/sun/gluegen/struct.h') diff --git a/test/junit/com/sun/gluegen/struct.h b/test/junit/com/sun/gluegen/struct.h new file mode 100644 index 0000000..2819d5c --- /dev/null +++ b/test/junit/com/sun/gluegen/struct.h @@ -0,0 +1,21 @@ + +typedef struct { + float x, y, z; +} Vec; + +typedef struct { + Vec orig, dir; +} Camera; + +typedef struct { + unsigned int width, height; + int superSamplingSize; + int actvateFastRendering; + int enableShadow; + + unsigned int maxIterations; + float epsilon; + float mu[4]; + float light[3]; + Camera camera; +} RenderingConfig; -- cgit v1.2.3