summarylogtreecommitdiffstats
path: root/SDLParametric2.h
diff options
context:
space:
mode:
Diffstat (limited to 'SDLParametric2.h')
-rw-r--r--SDLParametric2.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/SDLParametric2.h b/SDLParametric2.h
new file mode 100644
index 000000000000..64890163ee71
--- /dev/null
+++ b/SDLParametric2.h
@@ -0,0 +1,21 @@
+#ifndef _SDL_PARAMETRIC_2_H_
+#define _SDL_PARAMETRIC_2_H_
+
+#include "./destructive_reasoning.h"
+#include "./SDLCartesian.h"
+
+class SDL_Parametric2 : public SDL_Cartesian
+{
+ public:
+ SDL_Parametric2(int width,int height,std::vector<std::string> equations);
+
+ virtual void render();
+
+ protected:
+ std::vector<std::string> equations;
+ std::vector<std::string> rpnequations;
+ double tmin;
+ double tmax;
+};
+
+#endif