基于 EasyX图形库的傻瓜式二阶贝塞尔曲线
#include
#include
#include
#include using namespace std; unsigned long long befTime=0; struct POS vector void initSupLine(POS begin, POS end, POS control)
#include
#define delayTime 10 //0.01秒刷新一次
{
float x;
float y;
};
{
//画辅助线
setlinecolor(GREEN);
line(begin.x, begin.y, end.x, end.y);
setlinecolor(RED);
line(begin
共有 0 条评论