view Renderer/Engine/Light.h @ 1616:05d449e7b9f8 draft

remove set_NDRange
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Tue, 14 May 2013 13:40:50 +0900
parents acfa426b277e
children
line wrap: on
line source


#ifndef INCLUDED_LIGHT
#define INCLUDED_LIGHT

#include "SceneGraphRoot.h"
#include "TaskManager.h"

class SceneGraphRoot;

class Light {
public:
    Light(float w, float h,int spe_num_, SceneGraphRoot *sgroot_, TaskManager *manager_) {
        spe_num = spe_num_; 
	sgroot = sgroot_;
	manager = manager_;
    }
    ~Light(void);    
    float *light_xyz;
    float *light_xyz_stock;
    int *light_switch;
    int *light_switch_stock;
    int *light_sysswitch;
    int light_sysswitch_stock;
    int spe_num;
    TaskManager *manager;
    SceneGraphRoot *sgroot;
    
    void init();
    bool exec(HTaskPtr task_next);
    HTaskPtr update(HTaskPtr task_next);

};

typedef Light *LightPtr;

#endif