AppleSeeker's Tech Blog
Welcome to AppleSeeker's space
摘要: 毫无疑问,实现这个旋转的正方形只涉及了XNA中的基础内容。现在对项目进行简单的修改从而使显示出来的图形更加生动且更富吸引力。按代码所示来修改Draw函数的代码,将会看到绘制到屏幕上的图形发生了重大的变化protected override void Draw(GameTime gameTime){ GraphicsDevice.Clear(Color.CornflowerBlue); // Reset the world matrix _effect.World = Matrix.Identity; // Loop for each square for (int i = 0; i < 阅读全文
posted @ 2011-07-01 21:14 AppleSeeker(冯峰) 阅读(562) 评论(0) 推荐(0) 编辑