283
|
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,
|
|
23 TriangleTexInfoPtr tex_info,
|
|
24 VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1,
|
|
25 int length_y, float tex_y_len);
|
|
26 };
|
|
27
|
|
28 #endif
|