Gl Graph

Gl Graph Source of mathfunctiondrawable.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"
#include "gltexture.h"
 
 
class MathFunctionDrawable : public DrawableData {
public:
    MathFunctionDrawable();
 
 
    float getMinX();
    float getMaxX();
    float getMinY();
    float getMaxY();
 
    void draw();
    void init();
private:
    void draw_cercle(int nb_step);
    GlVersion * version;
    GlTexture * tex1;
    GlTexture * tex2;
 
 
};
 
#endif