Mercurial > hg > Members > kono > Cerium
annotate Renderer/Test/Chain.h @ 772:e53ae444ac6f
Test/property_chain is work
author | hiroki@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 15 Feb 2010 13:33:29 +0900 |
parents | 2575791a333a |
children |
rev | line source |
---|---|
507 | 1 #include "Application.h" |
2 | |
3 typedef struct { | |
4 double x, y, next_x, next_y; | |
5 double vx, vy, next_vx, next_vy; | |
6 double angle[3]; | |
7 int can_move; | |
8 SceneGraphPtr parent; | |
9 int id; | |
10 int parent_id; | |
11 } *ChainPropertyPtr, ChainProperty; | |
12 | |
13 | |
14 class Chain : public Application { | |
15 public: | |
16 Chain(){} | |
17 | |
18 SceneGraphPtr scenegraph_factory(void *p, int size); | |
19 SceneGraphPtr scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list); | |
756
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
20 void init(TaskManager *manager, int w, int h); |
507 | 21 void init_chain_vars(ChainPropertyPtr cv); |
22 void chain_move(TaskManager *manager, SceneGraphPtr sg, int w, int h); | |
23 void chain_collision(SceneGraphPtr sg, int w, int h, SceneGraphPtr osg); | |
24 | |
557
ec72b601b71f
fix examlples (on going)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
508
diff
changeset
|
25 MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); |
ec72b601b71f
fix examlples (on going)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
508
diff
changeset
|
26 |
ec72b601b71f
fix examlples (on going)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
508
diff
changeset
|
27 |
507 | 28 }; |