diff old/simple_render/SpanPackList.h @ 507:735f76483bb2

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents TaskManager/Test/simple_render/SpanPackList.h@5c194c71eca8
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/old/simple_render/SpanPackList.h	Mon Oct 12 09:39:35 2009 +0900
@@ -0,0 +1,25 @@
+#ifndef INCLUDED_SPAN_PACK_LIST
+#define INCLUDED_SPAN_PACK_LIST
+
+#ifndef INCLUDED_VIEWER_TYPES
+#  include "viewer_types.h"
+#endif
+
+#ifndef INCLUDED_SPAN_PACK
+#include "SpanPack.h"
+#endif
+
+// if window_height = 480  (480/8/6 = 10)
+// if window_height = 1080 (1080/8/6 = 22.5 => 23)
+#define MAX_SIZE_SPAN_PACK \
+    ((MAX_HEIGHT / TEXTURE_SPLIT_PIXEL / SPE_NUM_MAX) + 1)
+
+class SpanPackList {
+public:
+    SpanPack packs[MAX_SIZE_SPAN_PACK];
+    int length;
+    SpanPackList *next;
+};
+
+
+#endif