Professional Documents
Culture Documents
#include <GLFW/glfw3.h>
#include "points.h"
#include "plot.h"
#include "triangle.h"
#include "signals_ecg.h"
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
GLFWwindow* window;
if (!glfwInit())
return 0;
drawPointsDemo(width, height);
drawLineDemo();
drawTriangleDemo();
linePlotDemo(phase_shift+=0.02f);
ecg_demo(ratio);
glfwSwapBuffers(window);
glfwPollEvents();
}
glfwDestroyWindow(window);
glfwTerminate();
return 0;
}