Mercurial > hg > Game > Cerium
comparison TaskManager/Test/simple_render/SpanPack.h @ 109:028ffc9c0375 draft
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
108:6f3b3dd3c095 | 109:028ffc9c0375 |
---|---|
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 |