Mercurial > hg > Game > Cerium
diff 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 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/polygon.h Wed Feb 11 11:09:39 2009 +0900 +++ b/TaskManager/Test/test_render/polygon.h Thu Feb 12 16:31:38 2009 +0900 @@ -25,10 +25,13 @@ char *name; char *parent_name; - float *data; //"vertex" and "normal" and "texture" - float xyz[4]; // position - float angle[4]; // angle - float c_xyz[4]; // center of rotation + //float *data; //"vertex" and "normal" and "texture" + float *coord_xyz; // vertex coordinate array + float *coord_tex; // texture coordinate array + float *normal; // normal vector array + float xyz[4]; // position + float angle[4]; // angle + float c_xyz[4]; // center of rotation float matrix[16]; float *anim; int texture_id; //texture id number