00001
00008 #ifndef _CTREE_H
00009 #define _CTREE_H
00010
00011 class cTree;
00012
00013 #include "cObject.h"
00014 #include <GL/gl.h>
00015
00019 class cTree : public cObject {
00020 int seed;
00021 int type;
00022 int age;
00023 GLuint list;
00024 public:
00025 cTree(float* pos, float* rot, int seed, int type, int age);
00026
00027 virtual void drawSolid();
00028
00029 virtual float constrainParticle(float* worldpos, float radius = 0.0f, float* localpos = NULL);
00030 };
00031
00032
00033 #endif
00034