Mercurial > hg > Game > Cerium
annotate Renderer/Test/property_universe.h @ 2069:26aa08c9a1de draft default tip
cuda example fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 12 Feb 2017 10:04:55 +0900 |
parents | 06302c1dc87d |
children |
rev | line source |
---|---|
766 | 1 #include <math.h> |
2 #include <stdlib.h> | |
3 #include "SceneGraphRoot.h" | |
4 #include "Application.h" | |
5 #include "MainLoop.h" | |
6 #include "viewer.h" | |
7 | |
8 typedef struct { | |
9 float xyz[3]; // 12 byte | |
10 float angle[3]; | |
11 float stack_xyz[3]; | |
12 int property_index; | |
13 int parent_index; | |
14 int have_parent; | |
768
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
766
diff
changeset
|
15 /* |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
766
diff
changeset
|
16 SceneGraphPtr parent; |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
766
diff
changeset
|
17 SceneGraphPtr children; |
766 | 18 SceneGraphPtr node; |
768
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
766
diff
changeset
|
19 */ |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
766
diff
changeset
|
20 memaddr parent; |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
766
diff
changeset
|
21 memaddr children; |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
766
diff
changeset
|
22 memaddr node; |
766 | 23 const char *name; |
24 } *PropertyPtr, Property; | |
25 | |
26 class property_universe : public Application { | |
27 | |
28 MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); | |
29 | |
30 }; |