Mercurial > hg > Game > Cerium
view old/simple_pack/span.h @ 1188:ad64e2b20a9f draft
Merge with 26dea600d4cd3d5bc2064c29ea4f364bb824b994
author | Daichi TOMA |
---|---|
date | Thu, 07 Jul 2011 13:50:56 +0900 |
parents | 3bc98f6d31ff |
children |
line wrap: on
line source
#ifndef INCLUDE_Span #define INCLUDE_Span #include "triangle.h" #include "viewer.h" #include "polygon.h" class Span_c { public: int x,y,end; float z,zpos; float tex1,tex2,tey1,tey2; void create_span(Triangle *tri,SDL_Surface *image); // float calc(float f1, float f2,int i, float base); void half_triangle(Vertex*, Vertex*, Vertex*, SDL_Surface *image); Viewer *viewer; Polygon *p; }; #endif