public void Draw(GameState game) { this.surfaces.ModelviewMatrix.Matrix = Matrix4.LookAt( new Vector3(0, 0, 50), new Vector3(0, 0, 0), new Vector3(0, 1, 0) ); game.Render(); }
public void Draw(GameState game) { this.surfaces.ModelviewMatrix.Matrix = Matrix4.CreateRotationY((float)game.Time.NumericValue) * Matrix4.LookAt( new Vector3(0, 0, 30), new Vector3(0, 0, 0), new Vector3(0, 1, 0) ); game.Render(); }