--- ray/src/common/mesh.h 2003/06/20 00:25:49 2.6 +++ ray/src/common/mesh.h 2003/06/27 06:53:21 2.8 @@ -1,4 +1,4 @@ -/* RCSid $Id: mesh.h,v 2.6 2003/06/20 00:25:49 greg Exp $ */ +/* RCSid $Id: mesh.h,v 2.8 2003/06/27 06:53:21 greg Exp $ */ /* * Header for compact triangle mesh geometry * @@ -10,8 +10,6 @@ extern "C" { #endif -#include "copyright.h" - #include "lookup.h" #ifndef BYTE @@ -79,7 +77,7 @@ typedef struct mesh { int nref; /* reference count */ int ldflags; /* what we've loaded */ CUBE mcube; /* bounds and octree */ - FLOAT uvlim[2][2]; /* local coordinate extrema */ + RREAL uvlim[2][2]; /* local coordinate extrema */ OBJECT mat0; /* base material index */ OBJECT nmats; /* number of materials */ MESHPATCH *patch; /* mesh patch list */ @@ -106,7 +104,7 @@ typedef struct { int fl; /* setting flags */ FVECT v; /* vertex location */ FVECT n; /* vertex normal */ - FLOAT uv[2]; /* local coordinates */ + RREAL uv[2]; /* local coordinates */ } MESHVERT; /* mesh format identifier */