ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/mx3.h
Revision: 2.1
Committed: Wed Oct 11 10:39:27 1995 UTC (28 years, 6 months ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Initial revision

File Contents

# Content
1 /* Copyright (c) 1995 Regents of the University of California */
2
3 /* SCCSid "$SunId$ LBL" */
4
5 #ifndef MX3_HDR
6 #define MX3_HDR
7
8 #define mx3_copy(a, b) bcopy(a, b, 3*3*sizeof(double))
9
10 /* FLOAT VERSIONS */
11 float mx3f_adjoint(/* a, b */);
12 void mx3f_mul(/* a, b, c */);
13 void mx3f_print(/* str, a */);
14 void mx3f_translate_mat(/* tx, ty, a */);
15 void mx3f_translate(/* a, tx, ty */);
16 void mx3f_scale_mat(/* sx, sy, a */);
17 void mx3f_scale(/* a, sx, sy */);
18 void mx3f_transform(/* p, a, q */);
19 float mx3f_transform_div(/* p, a, q */);
20 #define mx3f_copy(a, b) bcopy(a, b, 3*3*sizeof(float))
21
22 /* DOUBLE VERSIONS */
23 double mx3d_adjoint(/* a, b */);
24 void mx3d_mul(/* a, b, c */);
25 void mx3d_print(/* str, a */);
26 void mx3d_translate_mat(/* tx, ty, a */);
27 void mx3d_translate(/* a, tx, ty */);
28 void mx3d_scale_mat(/* sx, sy, a */);
29 void mx3d_scale(/* a, sx, sy */);
30 void mx3d_transform(/* p, a, q */);
31 double mx3d_transform_div(/* p, a, q */);
32 #define mx3d_copy(a, b) bcopy(a, b, 3*3*sizeof(double))
33
34 #endif