12 2015 档案
摘要:#include "stdafx.h"#include void myInit(void){ glClearColor(0.2, 0.2, 0.2, 0.0);//设置背景颜色为白; glColor3f(0.0f, 0.0f, 0.0f);//设置绘图颜色为黑; glPointSize(1.0);/...
阅读全文
摘要:#include "stdafx.h"#include void myInit(void){ glClearColor(1.0, 1.0, 1.0, 0.0);//设置背景颜色为亮白; glColor3f(0.0f, 0.0f, 0.0f);//设置绘图颜色为黑白; glPointSize(1.0)...
阅读全文
摘要:#include "stdafx.h"#include #include #include using namespace std;void myInit(void){ glClearColor(1.0, 1.0, 1.0, 0.0);//背景颜色为白; glColor3f(0.0f, 0.0f, ...
阅读全文
摘要:#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);//设置绘图颜色为黑...
阅读全文

浙公网安备 33010602011771号