Mercurial > hg > Members > kono > Cerium
view old/simple_render/SpanPackList.h @ 639:70c5c2d2eb24
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | 735f76483bb2 |
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