Mercurial > hg > Game > Cerium
view TaskManager/Test/simple_render/scene_graph_pack.h @ 29:e949a536a68d
*** empty log message ***
author | gongo |
---|---|
date | Mon, 11 Feb 2008 17:33:38 +0900 |
parents | 3f68b2ef4fb0 |
children | 9b96b190cb73 |
line wrap: on
line source
#ifndef INCLUDED_SCENE_GRAPH_PACK #define INCLUDED_SCENE_GRAPH_PACK /* enum Tree{ PUSH, POP, SHIFT }; */ typedef struct SceneGraphNode { int size; float vertex[36*3]; float texture[36*2]; float obj_pos[4]; float angle[4]; float translation[16]; int id; int move, interaction; //int op[32]; // push pop shift => enum int pn; } SceneGraphNode, *SceneGraphNodePtr; typedef struct SceneGraphInfo { int size; }SceneGraphInfo; typedef struct SceneGraphPack { SceneGraphInfo info; SceneGraphNode node[16]; // variable length array }SceneGraphPack; #endif