Gl Graph
Gl Graph Source of nbodysimulation.h
#ifndef MathFunctionDrawable_H #define MathFunctionDrawable_H #define GLX_GLXEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES #include <GL/gl.h> #include <GL/glext.h> #include <GL/glx.h> #include <GL/glxext.h> #include <GL/glut.h> #include<drawabledata.h> #include "glparticules.h" class NBodySimulation : public DrawableData { public: NBodySimulation(); float getMinX(); float getMaxX(); float getMinY(); float getMaxY(); void draw(); void init(); void initManyBody(); void initBody(); private: GlVersion * version; GlParticules parts; }; #endif