From f1a2fe97763da9bb9675b807b8ebb270eafecf26 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 3 Aug 2020 17:57:57 -0700 Subject: [PATCH] change readme and some values --- PreShaderTest/PreShaderTestGame.cs | 6 ++--- README.md | 39 +----------------------------- 2 files changed, 4 insertions(+), 41 deletions(-) diff --git a/PreShaderTest/PreShaderTestGame.cs b/PreShaderTest/PreShaderTestGame.cs index 5504ecf..4efb9b7 100644 --- a/PreShaderTest/PreShaderTestGame.cs +++ b/PreShaderTest/PreShaderTestGame.cs @@ -28,8 +28,8 @@ namespace PreShaderTest vertexBuffer.SetData(new VertexPositionNormalTexture[] { new VertexPositionNormalTexture( - new Vector3(0, 1, 1), - new Vector3(0, 1, 1), + new Vector3(0, 0, 0), + new Vector3(0, 1, 0), new Vector2(0, 1) ) }); @@ -60,7 +60,7 @@ namespace PreShaderTest GraphicsDevice.Clear(Color.CornflowerBlue); pbrEffect.Techniques[0].Passes[0].Apply(); - + GraphicsDevice.SetVertexBuffer(vertexBuffer); GraphicsDevice.DrawPrimitives(PrimitiveType.PointListEXT, 0, 1); diff --git a/README.md b/README.md index 32c94f8..eda4932 100644 --- a/README.md +++ b/README.md @@ -1,38 +1 @@ -# FNA-VSCode-Template - -Template and build tasks for developing a cross-platform multi-target .NET Framework and .NET Core FNA project in VSCode. - -## Features - -- Includes project boilerplate code -- Build tasks for both .NET Framework and .NET Core side by side -- Press F5 to build and debug in-editor with Core Debugger - -## Requirements - -- [Git](https://git-scm.com/) -- [Git for Windows](https://gitforwindows.org/) if on Windows -- [Visual Studio Code](https://code.visualstudio.com/) -- [VSCode C# Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp) -- [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core) -- [.NET Framework SDK](https://dotnet.microsoft.com/download/visual-studio-sdks) or [Mono](https://www.mono-project.com/) - - -## Installation - -- Make sure you have Git Bash from Git for Windows if you are on Windows -- Download this repository -- Run `install.sh` -- Move the newly created project directory wherever you want - -## Usage - -- Open the project directory in VSCode -- Press Ctrl-Shift-B to open the build tasks menu -- `Framework` tasks use .NET Framework or Mono to build and run -- `Core` tasks use .NET Core to build and run -- Press F5 to build and debug with Core Debugger - -## Acknowledgments - -Thanks to Andrew Russell and Caleb Cornett's FNA templates for a starting point for this template. +# PreShaderTest \ No newline at end of file