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