Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/simple_render/span_pack.h @ 102:62679f4cae18
tag:first_render_with_spe fix
author | gongo |
---|---|
date | Mon, 03 Mar 2008 17:15:28 +0900 |
parents | 588ab5f0e659 |
children |
line wrap: on
line source
#ifndef INCLUDED_SPAN_PACK #define INCLUDED_SPAN_PACK typedef struct Span { long *tex_addr, tex_width, tex_height; int x, y, length_x; float start_z, end_z; float tex_x1, tex_x2, tex_y1, tex_y2; } SPAN, *SPAN_PTR; typedef struct SpanPack { struct SPAN_INFO { int size; int light_pos[3]; int light_rgb[3]; } info; SPAN span[70]; //SPAN *span; int pad[1]; } SPANPACK, *SPANPACK_PTR __attribute__((aligned(16))); /* typedef struct SpanPackList { int size; SPANPACK dline[60]; //SPANPACK dline[135]; //SPANPACK *dline; } SPANPACKLIST; */ #endif