summaryrefslogtreecommitdiff
path: root/physics/Constraint.cs
blob: 18ca192a5a3ab6cc639a11d55dc6832688cf71cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details

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 ()
		{
		}
	}
}