aboutsummaryrefslogtreecommitdiff
path: root/Unicity.Renderer/Shapes/Triangle.cs
blob: 347650ea99de18358af86adf24a8610b3b4dcfa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using OpenTK;

namespace Unicity.Renderer.Shapes
{
    public class Triangle : Shape
    {
        internal float[] Vertices;
        internal Vector3 Color;

        public Triangle(float[] vertices, float red, float green, float blue)
        {
            Vertices = vertices;
            Color = new Vector3(red, green, blue);
        }
    }
}