Mercurial > hg > Game > Cerium
diff TaskManager/Test/simple_render/spe/CreatePolygonPack.h @ 83:9b0b11bf4085
*** empty log message ***
author | gongo |
---|---|
date | Wed, 20 Feb 2008 17:25:48 +0900 |
parents | |
children | 9b96b190cb73 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Test/simple_render/spe/CreatePolygonPack.h Wed Feb 20 17:25:48 2008 +0900 @@ -0,0 +1,20 @@ +#ifndef INCLUDED_TASK_CREATE_POLYGON_PACK +#define INCLUDED_TASK_CREATE_POLYGON_PACK + +#ifndef INCLUDED_SCHED_TASK +# include "SchedTask.h" +#endif + +class CreatePolygonPack : public SchedTask { +public: + CreatePolygonPack(TaskListPtr _tlist, TaskPtr _task, + void* _rbuf, void* _wbuf, DmaManager* _con) + :SchedTask(_tlist, _task, _rbuf, _wbuf, _con) {} + + int run(void *readbuf, void *writebuf); + +private: + void rotate(float *xyz, float *matrix); +}; + +#endif