view TaskManager/Test/simple_render/SpanPack.h @ 176:08e2bb36639b

fix
author gongo@localhost.localdomain
date Tue, 16 Dec 2008 17:01:24 +0900
parents 5c194c71eca8
children
line wrap: on
line source

#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