diff Renderer/test_render/task/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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Renderer/test_render/task/CreateSpan.h	Fri Jun 05 16:49:12 2009 +0900
@@ -0,0 +1,28 @@
+#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