comparison TaskManager/Test/test_render/polygon.h @ 228:5bb12a76a335 draft

remove SceneGraph::data, add SceneGraph::coord_xyz, coord_tex, normal
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Thu, 12 Feb 2009 16:31:38 +0900
parents 59f4129a9562
children c4918a1fb6c9
comparison
equal deleted inserted replaced
227:e7faaf516be1 228:5bb12a76a335
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 27
28 float *data; //"vertex" and "normal" and "texture" 28 //float *data; //"vertex" and "normal" and "texture"
29 float xyz[4]; // position 29 float *coord_xyz; // vertex coordinate array
30 float angle[4]; // angle 30 float *coord_tex; // texture coordinate array
31 float c_xyz[4]; // center of rotation 31 float *normal; // normal vector array
32 float xyz[4]; // position
33 float angle[4]; // angle
34 float c_xyz[4]; // center of rotation
32 float matrix[16]; 35 float matrix[16];
33 float *anim; 36 float *anim;
34 int texture_id; //texture id number 37 int texture_id; //texture id number
35 struct texture_list texture_info; 38 struct texture_list texture_info;
36 39