Mercurial > hg > Members > kono > Cerium
diff old/simple_render/SpanPack.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/SpanPack.h@5c194c71eca8 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/old/simple_render/SpanPack.h Mon Oct 12 09:39:35 2009 +0900 @@ -0,0 +1,25 @@ +#ifndef INCLUDED_SPAN_PACK +#define INCLUDED_SPAN_PACK + +#ifndef INCLUDED_SPAN +# include "Span.h" +#endif + +#define MAX_SIZE_SPAN 70 + +class SpanPack { +public: /* fields */ + struct SpanInfo { + int size; + int light_pos[3]; + int light_rgb[3]; + } info; + + Span span[MAX_SIZE_SPAN]; + SpanPack *next; + +public: /* methods */ + void init(void); +}; + +#endif