view TaskManager/Test/simple_pack/span_pack.h @ 69:c9b973f0673e

*** empty log message ***
author chiaki
date Sun, 17 Feb 2008 23:07:52 +0900
parents 35a6cf176c38
children db2b7c565b89
line wrap: on
line source

#ifndef INCLUDE_SPAN_PACK
#define INCLUDE_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, *SPNA_PTR;

typedef struct SpanPack {
  struct SPAN_INFO {
    int size;
    int light_pos[3];
    int light_rgb[3];
  } info;
  //SPAN span[250];
  SPAN span[100];
  //SPAN *span;
} SPANPACK, *SPANPACK_PTR;

typedef struct SpanPackList {
  int size;
  //SPANPACK dline[6];
  //SPANPACK dline[135];
  SPANPACK dline[60];
  //SPANPACK *dline;
} SPANPACKLIST;

#endif