00001 #ifndef INCLUDED_CREATE_SPAN 00002 #define INCLUDED_CREATE_SPAN 00003 00004 #ifndef INCLUDED_SCHED_TASK 00005 # include "SchedTask.h" 00006 #endif 00007 00008 #ifndef INCLUDED_POLYGON_PACK 00009 # include "polygon_pack.h" 00010 #endif 00011 00012 #ifndef INCLUDED_SPAN_PACK 00013 # include "SpanPack.h" 00014 #endif 00015 00016 class CreateSpan : public SchedTask { 00017 public: 00018 SchedConstructor(CreateSpan); 00019 00020 int run(void *rbuf, void *wbuf); 00021 void half_triangle(SpanPackPtr *spackList, 00022 int charge_y_top, int charge_y_end, 00023 TriangleTexInfoPtr tex_info, 00024 VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1, 00025 int length_y, float tex_y_len); 00026 }; 00027 00028 #endif