view TaskManager/Test/test_render/spe/CreateSpan.h @ 131:805d27efafd8

fix
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Tue, 25 Nov 2008 17:24:18 +0900
parents 5c194c71eca8
children fc314f28b66e
line wrap: on
line source

#ifndef INCLUDED_CREATE_SPAN
#define INCLUDED_CREATE_SPAN

#ifndef INCLUDED_SCHED_TASK
#  include "SchedTask.h"
#endif

#ifndef INCLUDED_POLYGON_PACK
#  include "polygon_pack.h"
#endif

#ifndef INCLUDED_SPAN_PACK
#  include "SpanPack.h"
#endif

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,
		       long *tex_addr, long tex_width, long tex_height,
		       VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1);
};

#endif