Mercurial > hg > Members > kono > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
506:1d4a8a86f26b | 507:735f76483bb2 |
---|---|
1 #ifndef INCLUDED_SPAN_PACK_LIST | |
2 #define INCLUDED_SPAN_PACK_LIST | |
3 | |
4 #ifndef INCLUDED_VIEWER_TYPES | |
5 # include "viewer_types.h" | |
6 #endif | |
7 | |
8 #ifndef INCLUDED_SPAN_PACK | |
9 #include "SpanPack.h" | |
10 #endif | |
11 | |
12 // if window_height = 480 (480/8/6 = 10) | |
13 // if window_height = 1080 (1080/8/6 = 22.5 => 23) | |
14 #define MAX_SIZE_SPAN_PACK \ | |
15 ((MAX_HEIGHT / TEXTURE_SPLIT_PIXEL / SPE_NUM_MAX) + 1) | |
16 | |
17 class SpanPackList { | |
18 public: | |
19 SpanPack packs[MAX_SIZE_SPAN_PACK]; | |
20 int length; | |
21 SpanPackList *next; | |
22 }; | |
23 | |
24 | |
25 #endif |