libfvec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

fvec.h (199B)


      1 #ifndef _FVEC
      2 #define _FVEC
      3 
      4 typedef struct _fvec3 {
      5   double x;
      6   double y;
      7   double z;
      8 } vec3;
      9 
     10 vec3 * crossp(vec3 *, vec3 *);
     11 double dotp(vec3 *, vec3 *);
     12 
     13 vec3 * compose(vec3 *, vec3 *);
     14 
     15 #endif