Mercurial > hg > Game > Cerium
view old/simple_render/spe/CreatePolygonPack.h @ 1740:5a294d8e5643 draft
fix
author | Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 12 Nov 2013 16:56:43 +0900 |
parents | 3bc98f6d31ff |
children |
line wrap: on
line source
#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) {} void read(void); int run(void *readbuf, void *writebuf); void write(void); private: void rotate(float *xyz, float *matrix); inline float sum_across_float4(vector float v); }; #endif