Mercurial > hg > Game > Cerium
annotate old/simple_render/SpanPack.h @ 542:109a33b72b10 draft
continue...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 15:48:40 +0900 |
parents | 3bc98f6d31ff |
children |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDED_SPAN_PACK |
2 #define INCLUDED_SPAN_PACK | |
3 | |
4 #ifndef INCLUDED_SPAN | |
5 # include "Span.h" | |
6 #endif | |
7 | |
8 #define MAX_SIZE_SPAN 70 | |
9 | |
10 class SpanPack { | |
11 public: /* fields */ | |
12 struct SpanInfo { | |
13 int size; | |
14 int light_pos[3]; | |
15 int light_rgb[3]; | |
16 } info; | |
17 | |
18 Span span[MAX_SIZE_SPAN]; | |
19 SpanPack *next; | |
20 | |
21 public: /* methods */ | |
22 void init(void); | |
23 }; | |
24 | |
25 #endif |