room101/CONVEX.HPP

26 lines
458 B
Text
Raw Permalink Normal View History

#ifndef __CONVEX_H
#define __CONVEX_H
#include "vertex.hpp"
typedef struct
{
int x, xx;
int z, zz;
int u, uu;
int v, vv;
int w, ww;
} ScanLine;
extern ScanLine scanleft[];
extern ScanLine scanright[];
extern ScanLine scanline[];
extern int scantop, scanbot;
void VertexArrayScanXYZ (Vertex[], int);
void VertexArrayScanXYZW (Vertex[], int);
void VertexArrayScanXYZUVW (Vertex[], int);
#endif