annotate TaskManager/Test/test_render/Span.h @ 113:6ba88fa28df6

Define New Texture Data Structure
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Thu, 13 Nov 2008 10:10:57 +0900
parents 5c194c71eca8
children fc314f28b66e
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 INCLUDED_SPAN
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #define INCLUDED_SPAN
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
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
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8 class Span {
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9 public:
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 long *tex_addr;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 long tex_width;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 long tex_height;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 int x;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 int y;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15 int length_x;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 float start_z;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 float end_z;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18 float tex_x1;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19 float tex_x2;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20 float tex_y1;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
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
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
25 };
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
27 #endif