上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: #include void BuildPerspProjMat(double *m, double fov, double aspect, double znear, double zfar){ double ymax = znear * tan(fov * (3.14159265 / 360... 阅读全文
posted @ 2014-04-15 10:18 20118281131 阅读(515) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #pragma comment(lib, "osgd.lib")#pragma comment(lib, "osgViewerd.lib")#pragma comment(lib, "osgDBd.lib")#pragma comment(lib, "osgGAd.lib")#pragma comment(lib, "BulletCollision_vs2010_debug.lib 阅读全文
posted @ 2014-03-24 08:46 20118281131 阅读(350) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-03-15 14:35 20118281131 阅读(11) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-03-14 11:00 20118281131 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-03-14 10:53 20118281131 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-03-07 15:41 20118281131 阅读(42) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-03-07 10:00 20118281131 阅读(17) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-03-06 21:03 20118281131 阅读(14) 评论(0) 推荐(0) 编辑
摘要: template inline mat4 mat4::perspectiveProjection(type fovy, type aspect, type zNear, type zFar){ type f = (type) 1 / tan(radians(fovy) / 2); return mat4(f / aspect, 0, 0, 0, 0, f, 0, 0, 0, 0... 阅读全文
posted @ 2014-03-06 20:52 20118281131 阅读(254) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #pragma comment(lib, "glew32.lib")GLuint g_VBO;GLuint g_VBO_TexCoord;GLuint g_VAO;GLuint g_FBO;GLuint g_Texture0;GLuint g_RBO;GLuint g_VBO2;GLuint g_VBO2_TexCoord;GLuint g_VBO2_Color;GLuint g_VAO2;const unsigned int WIDTH = 1024;const unsigned int HEIGHT = 1024;f 阅读全文
posted @ 2014-03-04 17:48 20118281131 阅读(480) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页