Mercurial > hg > Game > Cerium
view old/simple_render/SpanPackList.h @ 1032:373576eb10ba draft
merge
author | Yutaka_Kinjyo |
---|---|
date | Tue, 16 Nov 2010 14:59:28 +0900 |
parents | 3bc98f6d31ff |
children |
line wrap: on
line source
#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