Afterglow.Graphics.Examples.OpenTKQuadWithIndexBuffer.CreatePositions C# (CSharp) Method

CreatePositions() private static method

private static CreatePositions ( ) : Afterglow.Math.Vector3[]
return Afterglow.Math.Vector3[]
        private static Vector3[] CreatePositions()
        {
            var topLeft = new Vector3(-1f, 1f, 0f);
            var topRight = new Vector3(1f, 1f, 0f);
            var bottomLeft = new Vector3(-1f, -1f, 0f);
            var bottomRight = new Vector3(1f, -1f, 0f);

            return new[] { topLeft, topRight, bottomLeft, bottomRight };
        }