/********************************************************************
 * File: Triangle.h
 * Author: Keith Schwarz (htiek@cs.stanford.edu)
 *
 * A class representing a triangle of points.  This triangle can have
 * additional properties, such as a color.
 */

#ifndef Triangle_Included
#define Triangle_Included

#include <stdlib.h>

namespace Copper3D
{
	class Triangle
	{
	public:
		/* Constructs a triangle from the specified positions. */
		Triangle(size_t v0, size_t v1, size_t v2);

		/* Accessors. */
		size_t v0() const;
		size_t v1() const;
		size_t v2() const;

	private:
		size_t mV0, mV1, mV2;
	};
}

#endif