Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/Span.h @ 132:e7c80537b6aa
add XML
author | gongo@charles.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 25 Nov 2008 18:19:53 +0900 |
parents | 6ba88fa28df6 |
children | fc314f28b66e |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDED_SPAN |
2 #define INCLUDED_SPAN | |
3 | |
113
6ba88fa28df6
Define New Texture Data Structure
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
4 #ifndef INCLUDED_TAPESTRY |
6ba88fa28df6
Define New Texture Data Structure
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
5 # include "Tapestry.h" |
6ba88fa28df6
Define New Texture Data Structure
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
6 #endif |
6ba88fa28df6
Define New Texture Data Structure
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
7 |
109 | 8 class Span { |
9 public: | |
10 long *tex_addr; | |
11 long tex_width; | |
12 long tex_height; | |
13 int x; | |
14 int y; | |
15 int length_x; | |
16 float start_z; | |
17 float end_z; | |
18 float tex_x1; | |
19 float tex_x2; | |
20 float tex_y1; | |
21 float tex_y2; | |
113
6ba88fa28df6
Define New Texture Data Structure
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
22 |
6ba88fa28df6
Define New Texture Data Structure
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
23 //int tile_list_size; |
6ba88fa28df6
Define New Texture Data Structure
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
24 //TileList[1]; // |
109 | 25 }; |
26 | |
27 #endif |