Mercurial > hg > Members > kono > Cerium
diff Renderer/test_render/SpanC.h @ 283:55ea4465b1a2
fix test_render
author | e065746@localhost.localdomain |
---|---|
date | Fri, 05 Jun 2009 16:49:12 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/test_render/SpanC.h Fri Jun 05 16:49:12 2009 +0900 @@ -0,0 +1,20 @@ +#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