X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fkmath.h;fp=include%2Fkmath.h;h=b3a877178cdf900827d5875f9854f642a946e842;hb=0c41eadc2ba97b93d6cfbaa16d8bf0a1e75597e3;hp=b7cc5feb99a670c751a61a84df56e337af17da53;hpb=caa021c02677851eb50fdda6d24a1259f901b20b;p=ctsim.git diff --git a/include/kmath.h b/include/kmath.h index b7cc5fe..b3a8771 100644 --- a/include/kmath.h +++ b/include/kmath.h @@ -2,8 +2,11 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: kmath.h,v 1.3 2000/04/28 14:14:16 kevin Exp $ +** $Id: kmath.h,v 1.4 2000/04/30 19:17:35 kevin Exp $ ** $Log: kmath.h,v $ +** Revision 1.4 2000/04/30 19:17:35 kevin +** Set up include files for conditional INTERACTIVE_GRAPHICS +** ** Revision 1.3 2000/04/28 14:14:16 kevin ** *** empty log message *** ** @@ -85,6 +88,9 @@ typedef double *DMTX_1D; typedef DMTX_1D *DMTX_2D; typedef DMTX_2D *DMTX_3D; +typedef double GRFMTX_2D[3][3]; +typedef double GRFMTX_3D[4][4]; + union elem_val_un { /* holds an element value */ char c; int i; @@ -162,6 +168,8 @@ typedef struct matrix_st *MTXP; */ +/* cliprect.c */ +int cliprect(double *x1, double *y1, double *x2, double *y2, const double rect[4]); /* lnearest.c */ long int lnearest(double x); /* mtx_disp.c */