view old/simple_render/test/LoadTexture/polygon.h @ 985:e40dd2384357

fix light data update
author root@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 01 Oct 2010 02:49:38 +0900
parents 735f76483bb2
children
line wrap: on
line source

#include <libxml/parser.h>
#ifndef INCLUDED_POLYGON
#define INCLUDED_POLYGON

#ifndef INCLUDED_VIEWER
#include "viewer.h"
#endif

#include "TaskManager.h"

extern TaskManager *manager;

class Polygon {
public:
	int size;
	char *name;
	char *parent_name;
	float *data;
	SDL_Surface *texture_image;
	Viewer *viewer;
	Polygon *next;
	void set_data(char*);
	void create_data(xmlNodePtr);
	void add_next();
	void get_data(xmlNodePtr);
};

#endif