annotate TaskManager/Test/simple_render/SpanC.h @ 132:e7c80537b6aa

add XML
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Tue, 25 Nov 2008 18:19:53 +0900
parents 5c194c71eca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 #ifndef INCLUDE_Span
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #define INCLUDE_Span
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4 #include "triangle.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 #include "viewer.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6 #include "polygon.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8 class Span_c {
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9 public:
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 int x,y,end;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 float z,zpos;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 float tex1,tex2,tey1,tey2;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 void create_span(Triangle *tri,SDL_Surface *image);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 // float calc(float f1, float f2,int i, float base);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15 void half_triangle(Vertex*, Vertex*, Vertex*, SDL_Surface *image);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 Viewer *viewer;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 Polygon *p;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18 };
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20 #endif