diff TaskManager/Test/simple_render/scene_graph_pack.h @ 26:3f68b2ef4fb0

*** empty log message ***
author gongo
date Sun, 10 Feb 2008 18:31:48 +0900
parents
children e949a536a68d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TaskManager/Test/simple_render/scene_graph_pack.h	Sun Feb 10 18:31:48 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;
+
+typedef struct SceneGraphInfo {
+  int size;
+}SceneGraphInfo;
+
+typedef struct SceneGraphPack {
+  SceneGraphInfo info;
+  SceneGraphNode node[16];    // variable length array
+}SceneGraphPack;
+
+
+#endif