view TaskManager/Test/test_render/task/CreateSpan.h @ 383:25c820b6060e

fix header, MemHash in kernel
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 06 Aug 2009 12:04:55 +0900
parents a7ff29110474
children 8611780d479f
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(void *rbuf, void *wbuf);
    void half_triangle(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