To love. To succeed. To be honest. 网摘

摘要: //学习CG,刚好想到自己动手实现下矩阵变换吧//just test and test#include "gl/glut.h"#include <iostream>#include <cmath>using namespace std;#define MAX 3class Matrix{public: int row; int col; double num[MAX][MAX]; Matrix() { for(int i=0;i<MAX;i++) for(int j=0;j<MAX;j++) num[i][j]=0; row=MAX; c 阅读全文
posted @ 2013-03-19 22:14 RaynerBan 阅读(203) 评论(0) 推荐(0) 编辑

To love. To succeed. To be honest.