GeaVR_GeaVR/Assets/Packages/Triangulation2D/Scripts/Vertex2D.cs
using UnityEngine;

using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;

namespace mattatz.Triangulation2DSystem {

	public class Vertex2D {
		public int ReferenceCount { get { return reference; } }
		public Vector2 Coordinate { get { return coordinate; } }

		Vector2 coordinate;
		int reference;

		public Vertex2D (Vector2 coord) {
			coordinate = coord;
		}

		public int Increment () {
			return ++reference;
		}

		public int Decrement () {
			return --reference;
		}
	}

}

