diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-03-03 12:34:43 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-03-03 12:34:43 +0000 |
commit | 6c196ec8a41d6ed506c133c8b33dba9684f9a7a6 (patch) | |
tree | 4e1422ea2a810520d0d9b0fbb78c0014ba9f8443 /test/raytracer/matrix.h | |
parent | 93d89c2b5e8497365be152fb53cb6cd4c5764d34 (diff) | |
download | compcert-6c196ec8a41d6ed506c133c8b33dba9684f9a7a6.tar.gz compcert-6c196ec8a41d6ed506c133c8b33dba9684f9a7a6.zip |
Updated raytracer test. Added SPASS test.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1271 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/raytracer/matrix.h')
-rw-r--r-- | test/raytracer/matrix.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/raytracer/matrix.h b/test/raytracer/matrix.h index 4b9f4346..5ab63b33 100644 --- a/test/raytracer/matrix.h +++ b/test/raytracer/matrix.h @@ -8,8 +8,7 @@ void apply_to_point(struct matrix * m, struct point * p, /*out*/ struct point * r); void apply_to_vect(struct matrix * m, struct vector * v, /*out*/ struct vector * r); -extern struct matrix matrix_identity; -#define mid (&matrix_identity) +extern struct matrix * mid; struct matrix * mtranslate(flt sx, flt sy, flt sz); struct matrix * mscale(flt sx, flt sy, flt sz); struct matrix * mrotatex(flt a); |