comparison TaskManager/Test/test_render/polygon.h @ 113:80d93fe0601d draft

Define New Texture Data Structure
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Thu, 13 Nov 2008 10:10:57 +0900
parents 028ffc9c0375
children e9e12e2088bd
comparison
equal deleted inserted replaced
112:7ef4fc1804cb 113:80d93fe0601d
22 class Polygon{ 22 class Polygon{
23 public: 23 public:
24 long long size; 24 long long size;
25 char *name; 25 char *name;
26 char *parent_name; 26 char *parent_name;
27
28 //int texture_id;
29 //int texture_px, texture_py; // texture の分割数
30
27 float *data; //"vertex" and "normal" and "texture" 31 float *data; //"vertex" and "normal" and "texture"
28 float xyz[4]; // position 32 float xyz[4]; // position
29 float angle[4]; // angle 33 float angle[4]; // angle
30 float c_xyz[4]; // center of rotation 34 float c_xyz[4]; // center of rotation
31 float matrix[16]; 35 float matrix[16];