summaryrefslogtreecommitdiff
path: root/physics/Constraint.cs
blob: a1bee589e5690f11099db7f72e18783c9005cc8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;

namespace PhysModel
{
	public interface IConstraint
	{
		//void Constrain (Model model);
		void Constrain ();
	}

	public class Constraint
	{
		public virtual void Constrain (Model model)
		{
			Constrain ();
		}

		public virtual void Constrain ()
		{
		}
	}
}