view Renderer/test_render/spe/CreateSpan.h @ 283:55ea4465b1a2

fix test_render
author e065746@localhost.localdomain
date Fri, 05 Jun 2009 16:49:12 +0900
parents
children
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,
		       TriangleTexInfoPtr tex_info,
		       VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1,
		       int length_y, float tex_y_len);
};

#endif