摘要: NamegluPerspective — set up a perspective projection matrixC Specificationvoid gluPerspective(GLdouble fovy,GLdouble aspect,GLdouble zNear,GLdouble zF... 阅读全文
posted @ 2015-08-04 10:52 水花兄弟 阅读(384) 评论(0) 推荐(0) 编辑
摘要: OpenGL uses several matrices to transform geometry and associated data. Those matrices are:Modelview – places object geometry in the global, unproject... 阅读全文
posted @ 2015-08-04 10:40 水花兄弟 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 由于修改默认的app.config文件,总是会在执行完后被旧文件覆盖,不清楚是什么原因。所以替代办法是在另外一个自定义的配置文件中进行读写。1.读取//读取Debug文件夹下自定义的PrintSetting.config中的配置信息 private string getConfig(s... 阅读全文
posted @ 2015-06-18 13:23 水花兄弟 阅读(556) 评论(0) 推荐(0) 编辑
摘要: System.Diagnostics.Stopwatch st = new Stopwatch();st.Start();......需要统计的代码......st.Stop();TimeSpan ts = st.Elapsed;//ts就是代码的执行时间 阅读全文
posted @ 2015-06-12 15:38 水花兄弟 阅读(117) 评论(0) 推荐(0) 编辑