view TaskManager/Test/test_render/task/CreateSpan.h @ 403:e2f29e912d0b draft

clean up and add more info on task_list
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 23 Sep 2009 12:04:29 +0900
parents b3fb0013e6b2
children 839e34d0cc3c
line wrap: on
line source

#ifndef INCLUDED_CREATE_SPAN
#define INCLUDED_CREATE_SPAN

#include "SchedTask.h"
#include "polygon_pack.h"
#include "SpanPack.h"

class CreateSpan : public SchedTask {
public:
    SchedConstructor(CreateSpan);
    
    int run(SchedTask *smanager, void *rbuf, void *wbuf);
    void half_triangle(SchedTask *smanager, SpanPackPtr *spackList,
		       int charge_y_top, int charge_y_end,
		       TriangleTexInfoPtr tex_info,
		       VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1,
		       NormalPack *normal1, NormalPack *normal2, NormalPack *normal3,
		       int length_y, float tex_y_len);
};

#endif