Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/SpanC.h @ 188:06f39635a9b0
メモりリーク箇所発見:TaskManager/Test/test_render/ChangeLog参照
author | gongo@localhost.localdomain |
---|---|
date | Thu, 08 Jan 2009 15:34:19 +0900 |
parents | 5c194c71eca8 |
children |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDE_Span |
2 #define INCLUDE_Span | |
3 | |
4 #include "triangle.h" | |
5 #include "viewer.h" | |
6 #include "polygon.h" | |
7 | |
8 class Span_c { | |
9 public: | |
10 int x,y,end; | |
11 float z,zpos; | |
12 float tex1,tex2,tey1,tey2; | |
13 void create_span(Triangle *tri,SDL_Surface *image); | |
14 // float calc(float f1, float f2,int i, float base); | |
15 void half_triangle(Vertex*, Vertex*, Vertex*, SDL_Surface *image); | |
16 Viewer *viewer; | |
17 Polygon *p; | |
18 }; | |
19 | |
20 #endif |