摘要:
#include "stdafx.h"#include #include const int screenWidth = 640;//屏幕窗口的宽度为640像素;const int screenHeight = 480;//屏幕窗口的高度为480像素;GLdouble A, B, C, D;//比例... 阅读全文
摘要:
#include "stdafx.h"#include #include //包含random函数void myInit(void){ glClearColor(1.0, 1.0, 1.0, 0.0);//设置背景颜色为白 glColor3f(0.0f, 0.0f, 0.0f);//设置绘图颜色为黑... 阅读全文