home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume12 / postscript / part01 / source / mat.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-10-27  |  388 b   |  12 lines

  1. /*
  2.  * Copyright (C) Crispin Goswell 1987, All Rights Reserved.
  3.  */
  4.  
  5. typedef struct matrix { float A, B, C, D, tx, ty; } Matrix;
  6.  
  7. typedef struct vector { float vx, vy, vt; } Vector;
  8.  
  9. extern Matrix NewMatrix (), MatMult (), MatInvert (), Translate (), Rotate (), Scale ();
  10. extern Vector NewVector (), DiffVector ();
  11. extern Vector Transform (), ITransform (), DTransform (), IDTransform ();
  12.