Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/task/CreateSpan.h @ 173:56be4a6e5513
add scale
author | gongo@localhost.localdomain |
---|---|
date | Thu, 11 Dec 2008 20:17:01 +0900 |
parents | 38cbb7aecc70 |
children | 559b48b69b76 |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDED_CREATE_SPAN |
2 #define INCLUDED_CREATE_SPAN | |
3 | |
4 #ifndef INCLUDED_SCHED_TASK | |
5 # include "SchedTask.h" | |
6 #endif | |
7 | |
8 #ifndef INCLUDED_POLYGON_PACK | |
9 # include "polygon_pack.h" | |
10 #endif | |
11 | |
12 #ifndef INCLUDED_SPAN_PACK | |
13 # include "SpanPack.h" | |
14 #endif | |
15 | |
16 class CreateSpan : public SchedTask { | |
17 public: | |
18 SchedConstructor(CreateSpan); | |
19 | |
20 int run(void *rbuf, void *wbuf); | |
21 void half_triangle(SpanPackPtr *spackList, | |
22 int charge_y_top, int charge_y_end, | |
164
38cbb7aecc70
TilePtr は SPE で計算した方がいいと判断して変更。
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
161
diff
changeset
|
23 uint32 *tex_addr, int tex_width, int tex_height, |
173 | 24 VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1, |
25 int y_length); | |
161
1f4c3f3238e6
texture の座標がマイナスになったあと、それを 0 にし忘れてた
gongo@localhost.localdomain
parents:
141
diff
changeset
|
26 void setTileInfoList(SpanPtr span); |
1f4c3f3238e6
texture の座標がマイナスになったあと、それを 0 にし忘れてた
gongo@localhost.localdomain
parents:
141
diff
changeset
|
27 void setTileInfo(TileInfoPtr tile, int xpos, int ypos, |
1f4c3f3238e6
texture の座標がマイナスになったあと、それを 0 にし忘れてた
gongo@localhost.localdomain
parents:
141
diff
changeset
|
28 int tex_width, uint32* tex_addr_top); |
109 | 29 }; |
141 | 30 |
109 | 31 #endif |