Mercurial > hg > Members > kono > Cerium
annotate old/simple_render/SpanPack.h @ 985:e40dd2384357
fix light data update
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 01 Oct 2010 02:49:38 +0900 |
parents | 735f76483bb2 |
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 |