Mercurial > hg > Members > kono > Cerium
view Renderer/Test/property_universe.h @ 767:e4d635b1f018
add spe/univers_move
author | hiroki@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 13 Feb 2010 17:33:38 +0900 |
parents | |
children | 2a00c1f470b7 |
line wrap: on
line source
#include <math.h> #include <stdlib.h> #include "SceneGraphRoot.h" #include "Application.h" #include "MainLoop.h" #include "viewer.h" typedef struct { float xyz[3]; // 12 byte float angle[3]; float stack_xyz[3]; SceneGraphPtr parent; SceneGraphPtr children; int property_index; int parent_index; int have_parent; SceneGraphPtr node; const char *name; } *PropertyPtr, Property; class property_universe : public Application { MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); };