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

CreateColors() private static method

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

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