25 lines
458 B
C++
25 lines
458 B
C++
#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
|