
#ifndef PLYDECL_H
#define PLYDECL_H


typedef struct 
{
  float x,y,z;          // 2d position + luminance
  float u,v;            // Patch UV coordinates
  float r,g,b;          // Radiance
} DecimationVertex;


typedef struct
{
  unsigned char nverts; // Always three, but needed by ply routines !
  int           *verts; // DecimationVertex indices
} DecimationFace;


extern PlyProperty decimation_vert_props[]; 
extern PlyProperty decimation_face_props[];
extern int         decimation_file_type;
extern int         decimation_num_elems;
extern char *      decimation_elem_names[];

#endif
