Mercurial > hg > Game > Cerium
view old/simple_render/SpanPack.h @ 2069:26aa08c9a1de draft default tip
cuda example fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 12 Feb 2017 10:04:55 +0900 |
parents | 3bc98f6d31ff |
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