摘要: BYTE r, g, b; float C = 8.0f; // set sun r = (255-C/sqrt(1-cos(m_time))*0.03); g = (255-C/sqrt(1-cos(m_time))*0.75); b = (255-C/sqrt(1-cos(m_time))*0.97); // set sky r = (255-C/sq... 阅读全文
posted @ 2006-04-14 17:51 千里马肝 阅读(4496) 评论(1) 推荐(0) 编辑