aboutsummaryrefslogtreecommitdiffstats
path: root/test/raytracer/surface.h
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-08-09 08:06:33 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-08-09 08:06:33 +0000
commit285f5bec5bb03d4e825e5d866e94008088dd6155 (patch)
tree9df69ded9ed4f4049e0b3887fdd99fcdf3b1746f /test/raytracer/surface.h
parenta83f0c1710cc5143dd885e84c94e14f7d3216f93 (diff)
downloadcompcert-kvx-285f5bec5bb03d4e825e5d866e94008088dd6155.tar.gz
compcert-kvx-285f5bec5bb03d4e825e5d866e94008088dd6155.zip
Ajout nouveaux tests
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@708 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/raytracer/surface.h')
-rw-r--r--test/raytracer/surface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/raytracer/surface.h b/test/raytracer/surface.h
new file mode 100644
index 00000000..ac128b27
--- /dev/null
+++ b/test/raytracer/surface.h
@@ -0,0 +1,7 @@
+/* Return the texture coordinates for the given point on the given
+ object. Point in object coords. */
+
+void surface_coords(struct object * obj, struct point * p,
+ /*out*/ int * face,
+ /*out*/ flt * u,
+ /*out*/ flt * v);