Mercurial > hg > Members > kono > Cerium
view old/simple_render/SpanC.h @ 844:61bfd8e246fc
send_linda's bug fix, and replace wait_rd() to rd() on dynamic_load
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Jun 2010 17:04:26 +0900 |
parents | 735f76483bb2 |
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