Mercurial > hg > Members > kono > Cerium
comparison Renderer/Test/create_task.h @ 758:e615e552efa5
change Test/create_task
author | hiroki |
---|---|
date | Sat, 30 Jan 2010 19:33:16 +0900 |
parents | 5238f3e854fc |
children |
comparison
equal
deleted
inserted
replaced
757:5238f3e854fc | 758:e615e552efa5 |
---|---|
4 #include "Application.h" | 4 #include "Application.h" |
5 #include "MainLoop.h" | 5 #include "MainLoop.h" |
6 #include "viewer.h" | 6 #include "viewer.h" |
7 | 7 |
8 typedef struct { | 8 typedef struct { |
9 float x, y, z; | 9 float xyz[3]; // 12 byte |
10 int pad; | 10 const char *name; |
11 } *PropertyPtr, Property; | 11 } *PropertyPtr, Property; |
12 | 12 |
13 class create_task : public Application { | 13 class create_task : public Application { |
14 | 14 |
15 MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); | 15 MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); |