Calculate the lerp.
Interesting.
#include<iostream>
#include<gl\glut.h>
#include<Windows.h>
using namespace std;
const int screenWidth = 800;
const int screenHeight = 800;
const int windowPositionX = 100;
const int windowPositionY = 100;
class Point{
public:
double x, y;
Point(double x, double y){
this->x = x;
this->y = y;
}
};
//initial two graphs.The number of two graphs must be equal.
Point FA[] = {
Point(-20, 0), Point(-20, 40), Point(-60, 40), Point(-30, 60), Point(-50, 60), Point(0, 100), Point(50, 60), Point(30, 60), Point(60, 40), Point(20, 40), Point(20, 0