35
|
1 #include "scene_graph_pack.h"
|
|
2 #include "polygon.h"
|
|
3 #include "TaskManager.h"
|
|
4
|
|
5 extern TaskManager *manager;
|
|
6 extern int create_sgp(SceneGraphPack *sgp, Polygon *sg);
|
|
7 extern int update_sgp(SceneGraphPack *sgp, SceneGraphPack *_sgp);
|
|
8 extern int create_pp(PolygonPack *pp, SceneGraphPack *sgp);
|
|
9
|
|
10 void
|
|
11 task_initialize()
|
|
12 {
|
|
13 manager->set_symbol("CreateSGP", (void*)create_sgp);
|
|
14 manager->set_symbol("UpdateSGP", (void*)update_sgp);
|
|
15 manager->set_symbol("CreatePP", (void*)create_pp);
|
|
16 }
|