diff TaskManager/Test/simple_pack/scene_graph_pack.h @ 53:0c8ae614d421

Initial revision
author chiaki
date Fri, 15 Feb 2008 20:58:50 +0900
parents
children 35a6cf176c38
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TaskManager/Test/simple_pack/scene_graph_pack.h	Fri Feb 15 20:58:50 2008 +0900
@@ -0,0 +1,35 @@
+#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