view Renderer/Engine/Light.h @ 1687:81bb9b2f35ca draft

change filename
author Shohei KOKUBO
date Tue, 13 Aug 2013 01:57:13 +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