Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/SceneGraph.h @ 930:35efda39c2d9
GL drawing speed up
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 30 Jul 2010 21:46:04 +0900 |
parents | f525427ae30f |
children | b2f7d2ad3804 |
comparison
equal
deleted
inserted
replaced
929:0f4ae8246dc3 | 930:35efda39c2d9 |
---|---|
2 #define INCLUDED_SCENE_GRAPH | 2 #define INCLUDED_SCENE_GRAPH |
3 | 3 |
4 #include "polygon.h" | 4 #include "polygon.h" |
5 #include "Pad.h" | 5 #include "Pad.h" |
6 #include "TaskManager.h" | 6 #include "TaskManager.h" |
7 #include "texture.h" | |
7 class SceneGraph; | 8 class SceneGraph; |
8 | 9 |
9 //typedef void (*move_func)(SceneGraph* node, int screen_w, int screen_h); | 10 //typedef void (*move_func)(SceneGraph* node, int screen_w, int screen_h); |
10 typedef void (*move_func)(SceneGraph* node, void *sgroot, int screen_w, int screen_h); | 11 typedef void (*move_func)(SceneGraph* node, void *sgroot, int screen_w, int screen_h); |
11 //typedef void (*collision_func)(SceneGraph* node, int screen_w, int screen_h, | 12 //typedef void (*collision_func)(SceneGraph* node, int screen_w, int screen_h, |
67 int frame; | 68 int frame; |
68 | 69 |
69 // Group ID | 70 // Group ID |
70 int gid; | 71 int gid; |
71 | 72 |
73 // GL ID | |
74 GLuint gl_tex; | |
75 | |
72 // 関数ポインタ | 76 // 関数ポインタ |
73 move_func move; | 77 move_func move; |
74 collision_func collision; | 78 collision_func collision; |
75 create_sg_func create_sg; | 79 create_sg_func create_sg; |
76 | 80 |