#ifndef _vertex_h #define _vertex_h typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned int uint; typedef unsigned long ulong; typedef struct vertex { float x,y,z; int a,r,g,b; float u,v,d,w; } vertex, *pvertex; int vtx_sscan(const char *s, pvertex pv, int fTex); double vtx_area(const vertex v[3]); double vtx_bbaspect(const vertex v[3]); double vtx_bbhoriz(const vertex v[3]); double vtx_bbvert(const vertex v[3]); double vtx_wratio(const vertex v[3]); double vtx_wave(const vertex v[3]); #endif /* _vertex_h */